diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-01-04 15:27:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2008-01-04 15:27:46 +0000 |
commit | 8c4e35e4ab50b2656230aea4da7b16b6921b86b6 (patch) | |
tree | 229db6608f90fedb5032c1f3494c028f00184dfb /default.mk | |
parent | 3d163f4548774c222ccf2dead8e2811ffeccc824 (diff) |
fix exit status usage -- one $ means make expands it, $$ means shell expands it
Diffstat (limited to 'default.mk')
-rw-r--r-- | default.mk | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |