diff options
author | Daniel Baumann <daniel@debian.org> | 2008-08-12 16:28:37 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2008-08-14 05:44:21 +0200 |
commit | 92d14dcccf6baf1760f9b5f559ebcb6b54007523 (patch) | |
tree | 65d64de5e9fe09c63db61408684e39fa2e98eb9e | |
parent | 669ce118dfb13386b9e366f3cfe06ca0120336bf (diff) | |
download | vyos-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-- | 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 |