]> git.wh0rd.org - patches.git/blame - apcupsd-pass-recursive-errors.patch
more random patches. who knows.
[patches.git] / apcupsd-pass-recursive-errors.patch
CommitLineData
5e993f12 1Index: autoconf/targets.mak
2===================================================================
3RCS file: /cvsroot/apcupsd/apcupsd/autoconf/targets.mak,v
4retrieving revision 1.21
5diff -u -p -r1.21 targets.mak
6--- autoconf/targets.mak 21 Sep 2006 00:07:35 -0000 1.21
7+++ autoconf/targets.mak 19 Dec 2006 22:38:52 -0000
8@@ -22,10 +22,11 @@ all-subdirs:
9 @if test ! x"$(subdirs)" = x; then \
10 for file in . ${subdirs}; \
11 do \
12- (cd $$file && if test "$$file" != "."; then $(MAKE) DESTDIR=$(DESTDIR) all; fi); \
13- if test "$$?" != "0"; then \
14- break; \
15- fi; \
16+ (cd $$file; \
17+ if test "$$file" != "."; then \
18+ $(MAKE) DESTDIR=$(DESTDIR) all || exit $$?; \
19+ fi; \
20+ ) || exit $$?; \
21 done; \
22 fi
23