Bugzilla – Attachment 91056 Details for
Bug 21000
debian/build-git-snapshot script ignores -D
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21000: Force case sensitivity on Getopt::Long
Bug-21000-Force-case-sensitivity-on-GetoptLong.patch (text/plain), 2.02 KB, created by
Mark Tompsett
on 2019-06-28 01:05:52 UTC
(
hide
)
Description:
Bug 21000: Force case sensitivity on Getopt::Long
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2019-06-28 01:05:52 UTC
Size:
2.02 KB
patch
obsolete
>From bfc25ab8ffbdb8165ef2683af90683d5a924bde5 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 27 Jun 2019 20:45:27 -0400 >Subject: [PATCH] Bug 21000: Force case sensitivity on Getopt::Long > >Before patch: -D and -d are mistaken for --debug > > $ sudo DEB_BUILD_OPTIONS=nocheck ./debian/build-git-snapshot -r ~/debian -v 19.06~git --autoversion -d -D="stretch" > Option d does not take an argument > git status --porcelain -unormal > git rev-parse --short=8 HEAD > dch --force-distribution -D "squeeze-dev" -v "19.06~git+20190627205913.466f99e4-1" "Building git snapshot." > dch warning: Recognised distributions are: > experimental, unstable, testing, stable, oldstable, oldoldstable, > {bullseye,buster,stretch,jessie,wheezy}-proposed-updates, > {testing,stable,oldstable,oldoldstable}-proposed-updates, > {bullseye,buster,stretch,jessie,wheezy}-security, > {testing,stable,oldstable,oldoldstable}}-security, jessie-backports, stretch-backports and UNRELEASED. > Using your request anyway. > >NOTE: squeeze-dev in the first dch line and warning about Option d. > >Apply patch: -D and -d are differentiated correctly. > $ sudo DEB_BUILD_OPTIONS=nocheck ./debian/build-git-snapshot -r ~/debian -v 19.06~git --autoversion -d -D="stretch" > git status --porcelain -unormal > git rev-parse --short=8 HEAD > dch --force-distribution -D "stretch" -v "19.06~git+20190627210316.b3f919a7-1" "Building git snapshot." > dch warning: Previous package version was Debian native whilst new version is not > dch -r "Building git snapshot." > >NOTE: No more 'Option d' error, and "stretch" in the first dch line. >--- > debian/build-git-snapshot | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot >index 0ae2197355..cedddae525 100755 >--- a/debian/build-git-snapshot >+++ b/debian/build-git-snapshot >@@ -23,7 +23,7 @@ > > use Modern::Perl; > >-use Getopt::Long; >+use Getopt::Long qw(:config no_ignore_case); > use POSIX qw/strftime/; > > my $basetgz; >-- >2.11.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 21000
:
91056
|
91294
|
91332