summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2008-08-12 16:28:37 +0200
committerDaniel Baumann <daniel@debian.org>2008-08-14 05:44:21 +0200
commit92d14dcccf6baf1760f9b5f559ebcb6b54007523 (patch)
tree65d64de5e9fe09c63db61408684e39fa2e98eb9e
parent669ce118dfb13386b9e366f3cfe06ca0120336bf (diff)
downloadvyos-live-build-92d14dcccf6baf1760f9b5f559ebcb6b54007523.tar.gz
vyos-live-build-92d14dcccf6baf1760f9b5f559ebcb6b54007523.zip
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 1bfdc776f..681177a55 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