summaryrefslogtreecommitdiff
path: root/dh
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 /dh
parent3acdb8e08277d723ce9fe372f3df1a5eddb1b04f (diff)
dh: Avoid passing --with on to subcommands. Closes: #490886
Diffstat (limited to 'dh')
-rwxr-xr-xdh4
1 files changed, 2 insertions, 2 deletions
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;