summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorjedgar <jedgar@FreeBSD.org>2001-12-21 01:44:11 +0000
committerjedgar <jedgar@FreeBSD.org>2001-12-21 01:44:11 +0000
commit2c142873b96d3b48b475613d6f44215549fcccd4 (patch)
tree367d8013b7831e616a3e2df29cbe96814ef423da /Makefile.inc1
parent4e0ccfb38237ff6ca5fbb471873500d6c3a15338 (diff)
downloadFreeBSD-src-2c142873b96d3b48b475613d6f44215549fcccd4.zip
FreeBSD-src-2c142873b96d3b48b475613d6f44215549fcccd4.tar.gz
Use a more secure method of creating the temporary
install directory.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc14
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 4cd5119..ce622cf 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -140,9 +140,7 @@ STRICTTMPPATH= ${WORLDTMP}/usr/sbin:${WORLDTMP}/usr/bin:${WORLDTMP}/usr/games
TMPPATH= ${STRICTTMPPATH}:${PATH}
OBJFORMAT_PATH?= /usr/libexec
-TMPDIR?= /tmp
-TMPPID!= echo $$$$
-INSTALLTMP= ${TMPDIR}/install.${TMPPID}
+INSTALLTMP!= mktemp -d -u -t install
#
# Building a world goes through the following stages
OpenPOWER on IntegriCloud