From 0525c7eafaf591faa29305aca0f2592ce7739a0f Mon Sep 17 00:00:00 2001 From: "Chris D. Faulhaber" Date: Fri, 21 Dec 2001 01:44:11 +0000 Subject: [PATCH] Use a more secure method of creating the temporary install directory. --- Makefile.inc1 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 4cd51195c81b..ce622cf1e8da 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