Switching chechbashism call to now fail and abort rather than just give a warning if bashishms are detected.
This commit is contained in:
parent
669ce118df
commit
92d14dcccf
6
Makefile
6
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
|
||||
|
|
Loading…
Reference in New Issue