Error out if gen_* cannot be done
[geeqie.git] / gen_changelog.sh
index 17423e6..e0c773d 100755 (executable)
@@ -8,7 +8,7 @@
 # ChangeLog.html is also created
 
 [ ! -e "ChangeLog.gqview" ] && exit 1
-[ ! -x "$(command -v git)" ] && exit 0
+[ ! -x "$(command -v git)" ] && exit 1
 
 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 && \