[SCM] debian-live/live-helper branch, master, updated. 1.0_a35-1-24-g8f8a9ec
Daniel Baumann
daniel at debian.org
Tue Nov 13 10:28:45 UTC 2007
The branch, master has been updated
via 8f8a9ec521174445fe05ca0b610cae22142f1d40 (commit)
from c8f66ebe90b5c3f6412df288e961305dd69691e2 (commit)
- Shortlog ------------------------------------------------------------
8f8a9ec Adding checkbashsms call to test target of the Makefile as suggested by Trent W. Buck <trentbuck at gmail.com>.
Summary of changes:
Makefile | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:
commit 8f8a9ec521174445fe05ca0b610cae22142f1d40
Author: Daniel Baumann <daniel at debian.org>
Date: Tue Nov 13 11:28:23 2007 +0100
Adding checkbashsms call to test target of the Makefile as suggested by Trent W. Buck <trentbuck at gmail.com>.
diff --git a/Makefile b/Makefile
index e8898ae..afb5ce8 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,20 @@ TRANSLATIONS="de"
all: build
test:
+ # Checking for syntax errors
set -e; for SCRIPT in functions/* examples/*/*.sh helpers/* hooks/*; \
do \
sh -n $$SCRIPT; \
done
+ # Checking for bashisms (temporary not failing, but only listing)
+ if [ -x /usr/bin/checkbashisms ]; \
+ then \
+ checkbashisms functions/* examples/*/*.sh helpers/* hooks/* || true; \
+ else \
+ echo "bashism test skipped - you need to install devscripts."; \
+ fi
+
build:
@echo "Nothing to build."
--
debian-live/live-helper
More information about the debian-live-changes
mailing list