diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-14 20:36:07 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-14 20:36:07 -0400 |
commit | 5a4f5a4379f537f7a7a3efca3e251ad16f217e8e (patch) | |
tree | b4e2038a3cc1bdc5cd9d20a5b3c7565d7ee696fb /dh | |
parent | 3acdb8e08277d723ce9fe372f3df1a5eddb1b04f (diff) |
dh: Avoid passing --with on to subcommands. Closes: #490886
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |