]> git.donarmstrong.com Git - debhelper.git/commitdiff
Fix handling of -O with options specified by commands. Closes: #568081
authorJoey Hess <joey@gnu.kitenet.net>
Tue, 2 Feb 2010 17:12:03 +0000 (12:12 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Tue, 2 Feb 2010 17:12:03 +0000 (12:12 -0500)
Debian/Debhelper/Dh_Getopt.pm
debian/changelog

index 214fa2dfbd3af2fe3b35e335af0daf734160f390..f5364870cf20afa4558c6aa1baa9fef4934f1c04 100644 (file)
@@ -157,7 +157,9 @@ sub getoptions {
        foreach my $opt (@test) {
                # Try to parse an option, and skip it
                # if it is not known.
-               if (getoptions([$opt], test => 1)) {
+               if (getoptions([$opt], %params,
+                               ignore_unknown_options => 0,
+                               test => 1)) {
                        getoptions([$opt], %params);
                }
        }
index 1a879f524c534074c57b0ad75f126977c38e0fa5..514301eae7bf2ae159e787266d460c66690b2998 100644 (file)
@@ -1,6 +1,7 @@
 debhelper (7.4.13) UNRELEASED; urgency=low
 
   * dh_compress: Avoid compressing images in /usr/share/info. Closes: #567586
+  * Fix handling of -O with options specified by commands. Closes: #568081
 
  -- Joey Hess <joeyh@debian.org>  Sun, 31 Jan 2010 14:34:30 -0500