path: root/Debian/Debhelper/
diff options
authorJoey Hess <>2010-01-04 16:06:08 -0500
committerJoey Hess <>2010-01-04 16:06:08 -0500
commit09d21e9f004aabe6a409c981c8d11e7cb4c2051f (patch)
tree1a5a1095251b09f87028f5be68e6eee3642a4ebd /Debian/Debhelper/
parent9afe080c5ee27e6e9170d09c9dc5c72cccbdc27e (diff)
Fix warning about unknown options passed to commands in override targets.
dh used DH_OVERRIDE_UNKNOWN_OPTIONS, which was too broad as it affected commands run via override targets and caused there to be no warning about unknown options. Now unknown options are only ignored when parsing DH_INTERNAL_OPTIONS and dh's own options.
Diffstat (limited to 'Debian/Debhelper/')
1 files changed, 1 insertions, 1 deletions
diff --git a/Debian/Debhelper/ b/Debian/Debhelper/
index a4e3570..f37ff51 100644
--- a/Debian/Debhelper/
+++ b/Debian/Debhelper/
@@ -33,7 +33,7 @@ sub init {
grep /^-/, @ARGV) {
eval "use Debian::Debhelper::Dh_Getopt";
error($@) if $@;
- Debian::Debhelper::Dh_Getopt::parseopts($params{options});
+ Debian::Debhelper::Dh_Getopt::parseopts(%params);
# Another way to set excludes.