Error out if gen_* cannot be done
authorKlaus Ethgen <Klaus@Ethgen.de>
Mon, 22 Jan 2018 20:45:39 +0000 (21:45 +0100)
committerKlaus Ethgen <Klaus@Ethgen.de>
Sat, 15 Jun 2019 10:55:53 +0000 (11:55 +0100)
gen_changelog.sh
gen_readme.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 && \
index 63ed8ad..a308453 100755 (executable)
@@ -3,7 +3,7 @@
 # Script to create README.html file,
 
 [ ! -e "README.md" ] && exit 1
-[ ! -x "$(command -v markdown)" ] && exit 0
+[ ! -x "$(command -v markdown)" ] && exit 1
 
 [ -e README.html ] && mv -f README.html README.html.bak