fix exit status usage -- one $ means make expands it, $$ means shell expands it

This commit is contained in:
Mike Frysinger 2008-01-04 15:27:46 +00:00
parent 3d163f4548
commit 8c4e35e4ab

View File

@ -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