hal/tools/freebsd Makefile.am,1.2,1.3
Danny Kukawka
dkukawka at kemper.freedesktop.org
Wed May 17 15:24:19 PDT 2006
Update of /cvs/hal/hal/tools/freebsd
In directory kemper:/tmp/cvs-serv30578/tools/freebsd
Modified Files:
Makefile.am
Log Message:
2006-05-18 Danny Kukawka <danny.kukawka at web.de>
Added check for bash syntax in scipts to the new backend dirs.
* tools/freebsd/Makefile.am:
* tools/linux/Makefile.am:
Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/tools/freebsd/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Makefile.am 14 May 2006 19:16:56 -0000 1.2
+++ Makefile.am 17 May 2006 22:24:17 -0000 1.3
@@ -14,3 +14,19 @@
hal-system-storage-cleanup-mountpoints-freebsd
EXTRA_DIST = $(script_SCRIPTS)
+
+check:
+ for f in $(script_SCRIPTS); do \
+ echo -n "Validate bash syntax in $$f : "; \
+ bash -n $(srcdir)/$$f 2> bash.error;\
+ if test -s bash.error; then \
+ echo failed; \
+ cat bash.error; \
+ rm -f bash.error; \
+ exit 1; \
+ else \
+ echo ok; \
+ rm -f bash.error; \
+ fi; \
+ done;
+
More information about the hal-commit
mailing list