Don't create cookie until the command is all finished, it or the commands
after may fail. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
12a36c8cce
commit
066a643b9f
@ -43,8 +43,10 @@ BSARGS= DESTDIR= \
|
||||
|
||||
legacy: .MAKE .META
|
||||
mkdir -p ${LEGACY_TOOLS}
|
||||
${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${BTOOLSDIR} > $@2
|
||||
${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${LEGACY_TOOLS} > $@
|
||||
${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${BTOOLSDIR} \
|
||||
> $@.distrib-dirs_btoolsdir
|
||||
${MAKE} -C ${SRCTOP}/etc distrib-dirs DESTDIR=${LEGACY_TOOLS} \
|
||||
> $@.distrib-dirs_legacy_tools
|
||||
${BSENV} ${MAKE} -C ${SRCTOP} -f Makefile.inc1 ${BSARGS} $@
|
||||
touch $@
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user