Follow-up r325342: Always ensure WORLDTMP exists.

Reported by:	Herbert J. Skuhra
Sponsored by:	Dell EMC Isilon
This commit is contained in:
Bryan Drewery 2017-11-02 21:58:18 +00:00
parent 89bd07e927
commit fe480405ec

View File

@ -815,7 +815,6 @@ _worldtmp: .PHONY
@echo "--------------------------------------------------------------" @echo "--------------------------------------------------------------"
.if !defined(NO_CLEAN) .if !defined(NO_CLEAN)
rm -rf ${WORLDTMP} rm -rf ${WORLDTMP}
@mkdir -p ${WORLDTMP}
.else .else
.if exists(${WORLDTMP}) .if exists(${WORLDTMP})
@echo ">>> Deleting stale files in build tree..." @echo ">>> Deleting stale files in build tree..."
@ -832,6 +831,7 @@ _worldtmp: .PHONY
.endfor .endfor
.endif # ${USING_SYSTEM_COMPILER} == "yes" .endif # ${USING_SYSTEM_COMPILER} == "yes"
.endif # !defined(NO_CLEAN) .endif # !defined(NO_CLEAN)
@mkdir -p ${WORLDTMP}
@touch ${WORLDTMP}/${.TARGET} @touch ${WORLDTMP}/${.TARGET}
.for _dir in \ .for _dir in \