diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-06-29 16:10:48 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-06-29 16:10:48 -0400 |
commit | afabee81e04c52cae5cbf55b8ba4566659505e9b (patch) | |
tree | a79d87c2bf3c9417206a99ef299da3cf5ebf6ebe /dh | |
parent | 86e65737a05bc7dc5e911577bf96e9539ab759c2 (diff) | |
download | debhelper-afabee81e04c52cae5cbf55b8ba4566659505e9b.tar.gz |
Make dh not complain about unknown, command-specific options passed to it
and further suppress warnings about such options it passes on to debhelper
commands. This was attempted incompletely before in version 7.2.17.
Diffstat (limited to 'dh')
-rwxr-xr-x | dh | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -197,6 +197,11 @@ my @ARGV_orig=@ARGV; # python-support is enabled by default, at least for now # (and comes first so python-central loads later and can disable it). unshift @ARGV, "--with=python-support"; + +# Disable complaints about unknown options for both dh and the commands +# it runs. This is done because dh accepts and passes on options that may +# be specific to only some debhelper commands. +$ENV{DH_IGNORE_UNKNOWN_OPTIONS}=1; init(options => { "until=s" => \$dh{UNTIL}, |