Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 21:58:18 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325346 - head
Message-ID:  <201711022158.vA2LwIV4075403@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711022158.vA2LwIV4075403>