aboutsummaryrefslogtreecommitdiff
path: root/default.mk
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-01-04 15:27:46 +0000
committerMike Frysinger <vapier@gentoo.org>2008-01-04 15:27:46 +0000
commit8c4e35e4ab50b2656230aea4da7b16b6921b86b6 (patch)
tree229db6608f90fedb5032c1f3494c028f00184dfb /default.mk
parent3d163f4548774c222ccf2dead8e2811ffeccc824 (diff)
fix exit status usage -- one $ means make expands it, $$ means shell expands it
Diffstat (limited to 'default.mk')
-rw-r--r--default.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/default.mk b/default.mk
index 80f7ff05..20ce2a4f 100644
--- a/default.mk
+++ b/default.mk
@@ -24,11 +24,11 @@ ECHODIR ?= true
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
if test -d $$x; then \
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
- ${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
+ ${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/ || exit $$?; \
fi; \
if test -d $$x.${OS}; then \
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
- ${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
+ ${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $$?; \
fi; \
done