summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-12 16:28:37 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:03:39 +0100
commitce605e2a900e42dfad7c91c29abdbe4df4906806 (patch)
treeb8ddee5b9af294816f76a40d62aa8f5c9b08c5d9
parent194bd9317fd54b8dcdab5f2abe91deccaaea0584 (diff)
downloadlive-build-ce605e2a900e42dfad7c91c29abdbe4df4906806.zip
live-build-ce605e2a900e42dfad7c91c29abdbe4df4906806.tar.gz
Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected.
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1bfdc77..681177a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,10 +11,10 @@ test:
sh -n $$SCRIPT; \
done
- # Checking for bashisms (temporary not failing, but only listing)
- if [ -x /usr/bin/checkbashisms ]; \
+ # Checking for bashisms
+ set -e; if [ -x /usr/bin/checkbashisms ]; \
then \
- checkbashisms functions/* examples/*/*.sh helpers/* hooks/* || true; \
+ checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \
else \
echo "bashism test skipped - you need to install devscripts."; \
fi