aboutsummaryrefslogtreecommitdiff
path: root/targets/pseudo/stage/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-10-01 21:52:25 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-10-01 21:52:25 +0000
commit066a643b9fd3a33aef69d039829982544aa58a36 (patch)
tree54a205d07506e4edabd43510539b3f791d13cc7e /targets/pseudo/stage/Makefile
parent12a36c8cce7b9ec2e572dc0f69660e0c12138bfc (diff)
downloadsrc-066a643b9fd3a33aef69d039829982544aa58a36.tar.gz
src-066a643b9fd3a33aef69d039829982544aa58a36.zip
Don't create cookie until the command is all finished, it or the commands
after may fail. Sponsored by: EMC / Isilon Storage Division
Notes
Notes: svn path=/head/; revision=288462
Diffstat (limited to 'targets/pseudo/stage/Makefile')
-rw-r--r--targets/pseudo/stage/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/targets/pseudo/stage/Makefile b/targets/pseudo/stage/Makefile
index 0889ad20208f..55512e287eac 100644
--- a/targets/pseudo/stage/Makefile
+++ b/targets/pseudo/stage/Makefile
@@ -8,7 +8,9 @@ all:
# we don't need to see it.
stage-distrib-dirs: .META
mkdir -p ${STAGE_OBJTOP}
- ${.MAKE} -C ${SRCTOP}/etc distrib-dirs -DWITH_TESTS DESTDIR=${STAGE_OBJTOP} > $@
+ ${.MAKE} -C ${SRCTOP}/etc distrib-dirs -DWITH_TESTS \
+ DESTDIR=${STAGE_OBJTOP} > $@.distrib_dirs
+ touch $@
.include <bsd.prog.mk>