[SCM] debian-live/live-initramfs branch, master, updated. 1.110.5-1-4-g95ff8f0

Daniel Baumann daniel at debian.org
Tue Nov 13 10:31:12 UTC 2007


The branch, master has been updated
       via  95ff8f09e30977864ea113491a2319f8c6157f11 (commit)
      from  6fe4f6302e145ef060982802a78fd861251d9e83 (commit)


- Shortlog ------------------------------------------------------------
95ff8f0 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 95ff8f09e30977864ea113491a2319f8c6157f11
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Nov 13 11:30:49 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 3d7af5b..dd60498 100644
--- a/Makefile
+++ b/Makefile
@@ -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

-- 
debian-live/live-initramfs



More information about the debian-live-changes mailing list