The following commit has been merged in the sid branch:
commit dd483ad8e4484e466f98e3d2deccaaa75cae099f
Author: Raphaël Hertzog <[email protected]>
Date:   Thu Sep 29 14:13:47 2011 +0200

    dpkg-buildflags: fix --dump to return 0 as exit code
    
    Reported-by: Yves-Alexis Perez <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index 418815f..982563a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ dpkg (1.16.1.1) UNRELEASED; urgency=low
   * Fix dpkg-source to not ignore the automatic patch when checking
     for unrecorded changes.
   * Let dpkg-source --commit create debian/patches when required.
+  * Fix dpkg-buildflags --dump to return 0 as exit code and not 1.
 
  -- Raphaël Hertzog <[email protected]>  Tue, 27 Sep 2011 08:15:51 +0200
 
diff --git a/scripts/dpkg-buildflags.pl b/scripts/dpkg-buildflags.pl
index 80fe1ff..ee33961 100755
--- a/scripts/dpkg-buildflags.pl
+++ b/scripts/dpkg-buildflags.pl
@@ -136,6 +136,7 @@ if ($action eq "get") {
        my $value = $build_flags->get($flag);
        print "$flag=$value\n";
     }
+    exit(0);
 }
 
 exit(1);

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to