changeset 17010:38d2653999ad

gitlog-to-changelog: fix previous change * build-aux/gitlog-to-changelog: Fix condition. Add missing ";".
author Akim Demaille <akim@lrde.epita.fr>
date Sun, 29 Jul 2012 13:30:12 +0200
parents 2b4084737797
children bd249772f779
files ChangeLog build-aux/gitlog-to-changelog
diffstat 2 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-07-29  Akim Demaille  <akim@lrde.epita.fr>
+
+	gitlog-to-changelog: fix previous change
+	* build-aux/gitlog-to-changelog: Fix condition.
+	Add missing ";".
+
 2012-07-29  Akim Demaille  <akim@lrde.epita.fr>
 
 	gitlog-to-changelog: don't expect .git to be in $srcdir
--- a/build-aux/gitlog-to-changelog
+++ b/build-aux/gitlog-to-changelog
@@ -210,8 +210,8 @@
       my $git_dir = qx($cmd);
       defined $git_dir
         or die "$ME: cannot run $qcmd: $!\n";
-      $? != 0
-        or die "$ME: $qcmd had unexpected exit code or signal ($?)\n"
+      $? == 0
+        or die "$ME: $qcmd had unexpected exit code or signal ($?)\n";
       chomp $git_dir;
       push @res, "--git-dir=$git_dir/.git";
     }