From 066a643b9fd3a33aef69d039829982544aa58a36 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Thu, 1 Oct 2015 21:52:25 +0000 Subject: Don't create cookie until the command is all finished, it or the commands after may fail. Sponsored by: EMC / Isilon Storage Division --- targets/pseudo/stage/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'targets/pseudo/stage/Makefile') 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 -- cgit v1.2.3