]> git.donarmstrong.com Git - debhelper.git/blobdiff - dh
Make dh not complain about unknown, command-specific options passed to it
[debhelper.git] / dh
diff --git a/dh b/dh
index bcd5b02dae530fbf3055cbacab5b013c84fb0a7d..4ea69b25a6fb025ee990e72db56336c1a5b5752b 100755 (executable)
--- a/dh
+++ b/dh
@@ -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},