From 92d14dcccf6baf1760f9b5f559ebcb6b54007523 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 12 Aug 2008 16:28:37 +0200 Subject: [PATCH] Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected. --- Makefile | 6 +++--- 1 file 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