]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh: Avoid passing --with on to subcommands. Closes: #490886
authorJoey Hess <joey@kodama.kitenet.net>
Tue, 15 Jul 2008 00:36:07 +0000 (20:36 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Tue, 15 Jul 2008 00:36:07 +0000 (20:36 -0400)
debian/changelog
dh

index b01a345c8e922e6e3bc17175d2ef2f2b4601e341..8a77d628ed2e2da69bd15b3b4d7945e53e30bd59 100644 (file)
@@ -1,3 +1,9 @@
+debhelper (7.0.16) UNRELEASED; urgency=low
+
+  * dh: Avoid passing --with on to subcommands. Closes: #490886
+
+ -- Joey Hess <joeyh@debian.org>  Mon, 14 Jul 2008 20:35:47 -0400
+
 debhelper (7.0.15) unstable; urgency=low
 
   * dh_clean: Do not delete *-stamp files in -k mode in v7. Closes: #489918
diff --git a/dh b/dh
index f8e26e5695e9a6e8c60275caf18e2271808b2927..289e7fc253fc9b3e3f37a484c4127f18c53f97b1 100755 (executable)
--- a/dh
+++ b/dh
@@ -372,11 +372,11 @@ elsif ($sequence eq 'binary-indep') {
 while (@ARGV_orig) {
        my $opt=shift @ARGV_orig;
        next if $opt eq $sequence;
-       if ($opt =~ /^--?(after|until|before)$/) {
+       if ($opt =~ /^--?(after|until|before|with)$/) {
                shift @ARGV_orig;
                next;
        }
-       elsif ($opt =~ /^--?(no-act|remaining|(after|until|before)=)/) {
+       elsif ($opt =~ /^--?(no-act|remaining|(after|until|before|with)=)/) {
                next;
        }
        push @options, $opt;