diff options
author | Daniel Baumann <daniel@debian.org> | 2007-11-13 11:30:49 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:31:06 +0100 |
commit | f3acacde8f16a54c4a52eb763712ab9e14c563f6 (patch) | |
tree | e4421434c8edf98e65cce175765cd5414231e3b7 /Makefile | |
parent | 798715de7e444ceaae86e8cd4c7416a05b626392 (diff) | |
download | live-boot-f3acacde8f16a54c4a52eb763712ab9e14c563f6.tar.gz live-boot-f3acacde8f16a54c4a52eb763712ab9e14c563f6.zip |
Adding checkbashsms call to test target of the Makefile as suggested by Trent W. Buck <trentbuck@gmail.com>.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -5,11 +5,20 @@ TRANSLATIONS="it" all: build test: + # Checking for syntax errors set -e; for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \ do \ sh -n $$SCRIPT; \ done + # Checking for bashisms (temporary not failing, but only listing) + if [ -x /usr/bin/checkbashisms ]; \ + then \ + checkbashisms bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/* || true; \ + else \ + echo "bashism test skipped - you need to install devscripts."; \ + fi + build: install: test build |