aboutsummaryrefslogtreecommitdiff
path: root/default.mk
diff options
context:
space:
mode:
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