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
+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.
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=$$?; \