diff options
author | Martin-Éric Racine <q-funk@iki.fi> | 2007-07-25 09:55:25 -0600 |
---|---|---|
committer | Jordan Crouse <jordan.crouse@amd.com> | 2007-07-25 09:55:55 -0600 |
commit | 8ce4c5cc9650ddc81d9243bc416522800bce3afc (patch) | |
tree | 5280ab9783b60a1cc3a1d02a0ecbc235ac64dc2c | |
parent | bb0f0afc6c5cf849081a007af0c2d3485e87e9c4 (diff) |
Add the all-important if/then loop to avoid
squashing the ChangeLog if autogen.sh is executed outside of a git
tree.
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -11,7 +11,10 @@ rm -rf config.guess config.sub ltmain.sh autoreconf -v --install || exit 1 cd $ORIGDIR || exit $? -$srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog 2>/dev/null +if [ -d .git ] +then + $srcdir/missing --run git-log --stat | fmt --split-only 1> ChangeLog +fi $srcdir/configure --enable-maintainer-mode "$@" |