SOURCES: ser-paths.patch - fail when module build fails

arekm arekm at pld-linux.org
Thu Apr 12 20:16:37 CEST 2007


Author: arekm                        Date: Thu Apr 12 18:16:35 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fail when module build fails

---- Files affected:
SOURCES:
   ser-paths.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/ser-paths.patch
diff -u SOURCES/ser-paths.patch:1.2 SOURCES/ser-paths.patch:1.3
--- SOURCES/ser-paths.patch:1.2	Thu Apr 12 19:45:42 2007
+++ SOURCES/ser-paths.patch	Thu Apr 12 20:16:30 2007
@@ -68,3 +68,26 @@
  bin-target = $(prefix)/$(bin-dir)
  modules-target = $(prefix)/$(modules-dir)
  doc-target = $(prefix)/$(doc-dir)
+diff -urN ser-0.9.6.org/Makefile ser-0.9.6/Makefile
+--- ser-0.9.6.org/Makefile	2005-11-02 18:45:38.000000000 +0100
++++ ser-0.9.6/Makefile	2007-04-12 20:15:42.315305336 +0200
+@@ -141,7 +141,8 @@
+ 
+ .PHONY: modules
+ modules:
+-	- at for r in $(modules) "" ; do \
++	@set -e; \
++	for r in $(modules) "" ; do \
+ 		if [ -n "$$r" ]; then \
+ 			echo  "" ; \
+ 			echo  "" ; \
+@@ -151,7 +152,8 @@
+ 
+ $(extra_objs):
+ 	- at echo "Extra objs: $(extra_objs)" 
+-	- at for r in $(static_modules_path) "" ; do \
++	@set -e; \
++	for r in $(static_modules_path) "" ; do \
+ 		if [ -n "$$r" ]; then \
+ 			echo  "" ; \
+ 			echo  "Making static module $r" ; \
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/ser-paths.patch?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list