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; \
|
sh -n $$SCRIPT; \
|
||||||
done
|
done
|
||||||
|
|
||||||
# Checking for bashisms (temporary not failing, but only listing)
|
# Checking for bashisms
|
||||||
if [ -x /usr/bin/checkbashisms ]; \
|
set -e; if [ -x /usr/bin/checkbashisms ]; \
|
||||||
then \
|
then \
|
||||||
checkbashisms functions/* examples/*/*.sh helpers/* hooks/* || true; \
|
checkbashisms functions/* examples/*/*.sh helpers/* hooks/*; \
|
||||||
else \
|
else \
|
||||||
echo "bashism test skipped - you need to install devscripts."; \
|
echo "bashism test skipped - you need to install devscripts."; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue