X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=build-aux%2Fgitlog-to-changelog;h=e02d34c2135c31b455cb56dd835501e0bc6b1195;hb=fa1db0dd22768f09a507674a30beb5b8a87bb35f;hp=60e1c39e17733935be600c89011ed80872afb8a7;hpb=e91cb2e5c0d63e19918b18e1624afd9420dccc27;p=gnulib.git diff --git a/build-aux/gitlog-to-changelog b/build-aux/gitlog-to-changelog index 60e1c39e1..e02d34c21 100755 --- a/build-aux/gitlog-to-changelog +++ b/build-aux/gitlog-to-changelog @@ -9,7 +9,7 @@ my $VERSION = '2012-07-29 06:11'; # UTC # If you change this file with Emacs, please let the write hook # do its job. Otherwise, update this string manually. -# Copyright (C) 2008-2012 Free Software Foundation, Inc. +# Copyright (C) 2008-2013 Free Software Foundation, Inc. # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -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"; }