diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-12 16:28:37 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:39 +0100 |
commit | ce605e2a900e42dfad7c91c29abdbe4df4906806 (patch) | |
tree | b8ddee5b9af294816f76a40d62aa8f5c9b08c5d9 /Makefile | |
parent | 194bd9317fd54b8dcdab5f2abe91deccaaea0584 (diff) | |
download | vyos-live-build-ce605e2a900e42dfad7c91c29abdbe4df4906806.tar.gz vyos-live-build-ce605e2a900e42dfad7c91c29abdbe4df4906806.zip |
Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |