fix exit status usage -- one $ means make expands it, $$ means shell expands it
This commit is contained in:
parent
3d163f4548
commit
8c4e35e4ab
@ -24,11 +24,11 @@ ECHODIR ?= true
|
|||||||
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
|
_SUBDIR = @${_+_}for x in ${SUBDIR}; do \
|
||||||
if test -d $$x; then \
|
if test -d $$x; then \
|
||||||
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
|
${ECHODIR} "===> ${DIRPRFX}$$x ($@)"; \
|
||||||
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
|
${MAKE} -C $$x $@ DIRPRFX=${DIRPRFX}$$x/ || exit $$?; \
|
||||||
fi; \
|
fi; \
|
||||||
if test -d $$x.${OS}; then \
|
if test -d $$x.${OS}; then \
|
||||||
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
|
${ECHODIR} "===> ${DIRPRFX}$$x.${OS} ($@)"; \
|
||||||
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $?; \
|
${MAKE} -C $$x.${OS} $@ DIRPRFX=${DIRPRFX}$$x/ || exit $$?; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user