Update configuration method
[geeqie.git] / gen_changelog.sh
index 33aceba..2d42d13 100755 (executable)
@@ -11,6 +11,7 @@
 
 [ ! -e "ChangeLog.gqview" ] && exit 1
 [ ! -x "$(command -v git)" ] && exit 0
+[ ! -d ".git" ] && exit 0
 
 LC_ALL=C git log --no-merges --no-notes --encoding=UTF-8 --no-follow --use-mailmap 1b58572cf58e9d2d4a0305108395dab5c66d3a09..HEAD > ChangeLog.$$.new && \
 cat ChangeLog.gqview >> ChangeLog.$$.new && \