Author: bdrewery
Date: Thu Nov  2 21:58:18 2017
New Revision: 325346
URL: https://svnweb.freebsd.org/changeset/base/325346

Log:
  Follow-up r325342: Always ensure WORLDTMP exists.
  
  Reported by:  Herbert J. Skuhra
  Sponsored by: Dell EMC Isilon

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Thu Nov  2 21:19:17 2017        (r325345)
+++ head/Makefile.inc1  Thu Nov  2 21:58:18 2017        (r325346)
@@ -815,7 +815,6 @@ _worldtmp: .PHONY
        @echo "--------------------------------------------------------------"
 .if !defined(NO_CLEAN)
        rm -rf ${WORLDTMP}
-       @mkdir -p ${WORLDTMP}
 .else
 .if exists(${WORLDTMP})
        @echo ">>> Deleting stale files in build tree..."
@@ -832,6 +831,7 @@ _worldtmp: .PHONY
 .endfor
 .endif # ${USING_SYSTEM_COMPILER} == "yes"
 .endif # !defined(NO_CLEAN)
+       @mkdir -p ${WORLDTMP}
        @touch ${WORLDTMP}/${.TARGET}
 
 .for _dir in \
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to