From: Akim Demaille Date: Sun, 29 Jul 2012 11:30:12 +0000 (+0200) Subject: gitlog-to-changelog: fix previous change X-Git-Tag: v0.1~518 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=3f2667cf86d23284b3378ae2c38fd93adba5714f;p=gnulib.git gitlog-to-changelog: fix previous change * build-aux/gitlog-to-changelog: Fix condition. Add missing ";". --- diff --git a/ChangeLog b/ChangeLog index 6806847dc..ddd205e16 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2012-07-29 Akim Demaille + gitlog-to-changelog: fix previous change + * build-aux/gitlog-to-changelog: Fix condition. + Add missing ";". + +2012-07-29 Akim Demaille + gitlog-to-changelog: don't expect .git to be in $srcdir Reported by Bruno Haible. diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 60e1c39e1..5184edc7d 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -210,8 +210,8 @@ sub git_dir_option($) 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"; }