From ce605e2a900e42dfad7c91c29abdbe4df4906806 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Tue, 12 Aug 2008 16:28:37 +0200
Subject: 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 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
-- 
cgit v1.0