Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected.

This commit is contained in:
Daniel Baumann 2008-08-12 16:28:37 +02:00
parent 669ce118df
commit 92d14dcccf
1 changed files with 3 additions and 3 deletions

View File

@ -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