Reviewed by Brady.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 01:35:47 +0000 (01:35 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Oct 2006 01:35:47 +0000 (01:35 +0000)
        Make the universal build return non-zero when module make fails.

        * Makefile:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17459 268f45cc-cd09-0410-ab3c-d52691b4dbfc

ChangeLog
Makefile

index 31db14c..34227f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2006-10-30  Timothy Hatcher  <timothy@apple.com>
+
+        Reviewed by Brady.
+
+        Make the universal build return non-zero when module make fails.
+
+        * Makefile:
+
 2006-10-30  Stephanie Lewis  <slewis@apple.com>
 
         Reviewed by Darin.
index c9b0d90..89344f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -13,7 +13,8 @@ release r deployment dep deploy:
        if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
        
 universal u:
-       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; if [ $$? -ne 0 ]; then break; fi; done
+       @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \
+       if [ $$exit_status -ne 0 ]; then exit $$exit_status; fi; done
 
 clean:
        @for dir in $(MODULES); do ${MAKE} $@ -C $$dir; exit_status=$$?; \