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 \
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user