changeset 2648:e083bab50112

Fix #532: Remove Changelog.html and Readme.html from Makefile.am https://github.com/BestImageViewer/geeqie/issues/532 Wrong exit codes
author Colin Clark <colin.clark@cclark.uk>
date Sat, 28 Oct 2017 18:17:06 +0100
parents 9f1adad6c2cf
children 1636031e5f27
files gen_changelog.sh gen_readme.sh
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/gen_changelog.sh	Sat Oct 28 16:24:43 2017 +0100
+++ b/gen_changelog.sh	Sat Oct 28 18:17:06 2017 +0100
@@ -9,7 +9,7 @@
 # ChangeLog.html is also created
 
 [ ! -e "ChangeLog" ] && exit 1
-[ ! -x "$(command -v git)" ] && exit 1
+[ ! -x "$(command -v git)" ] && exit 0
 
 tail -6614 ChangeLog > ChangeLog.$$.old && \
 LC_ALL=C git log --no-merges --no-notes --encoding=UTF-8 --no-follow 1b58572cf58e9d2d4a0305108395dab5c66d3a09..HEAD > ChangeLog.$$.new && \
--- a/gen_readme.sh	Sat Oct 28 16:24:43 2017 +0100
+++ b/gen_readme.sh	Sat Oct 28 18:17:06 2017 +0100
@@ -3,7 +3,7 @@
 # Script to create README.html file,
 
 [ ! -e "README.md" ] && exit 1
-[ ! -x "$(command -v markdown)" ] && exit 1
+[ ! -x "$(command -v markdown)" ] && exit 0
 
 [ -e README.html ] && mv -f README.html README.html.bak