summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-14 20:36:07 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-14 20:36:07 -0400
commit5a4f5a4379f537f7a7a3efca3e251ad16f217e8e (patch)
treeb4e2038a3cc1bdc5cd9d20a5b3c7565d7ee696fb
parent3acdb8e08277d723ce9fe372f3df1a5eddb1b04f (diff)
downloaddebhelper-5a4f5a4379f537f7a7a3efca3e251ad16f217e8e.tar.gz
dh: Avoid passing --with on to subcommands. Closes: #490886
-rw-r--r--debian/changelog6
-rwxr-xr-xdh4
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index b01a345c..8a77d628 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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 f8e26e56..289e7fc2 100755
--- 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;