summaryrefslogtreecommitdiff
blob: bce950448336b487f53ab824c028d8321b9c5425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
if a subdir fails, we need to abort

--- autoconf/targets.mak
+++ autoconf/targets.mak
@@ -20,9 +20,7 @@
 	    for file in . ${subdirs}; \
 	    do \
 		(cd $$file && if test "$$file" != "."; then $(MAKE) DESTDIR=$(DESTDIR) all; fi); \
-		  if test "$$?" != "0"; then \
-		     break; \
-		  fi; \
+		  test "$$?" != "0" && exit 1 ; \
 	    done; \
 	fi