From 31dfbef56f8adcf8b59ed00c55cab61338ad2076 Mon Sep 17 00:00:00 2001 From: uebayasi Date: Fri, 11 Dec 2009 08:52:37 +0000 Subject: [PATCH] ${GENCMD}: Prefix tmp directories as /tmp/_gencmd.XXXXXX to give users a clue when it's left accidentally. --- share/mk/bsd.own.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index 8a6343ab3440..5f5b86130038 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.own.mk,v 1.604 2009/12/11 08:37:34 uebayasi Exp $ +# $NetBSD: bsd.own.mk,v 1.605 2009/12/11 08:52:37 uebayasi Exp $ .if !defined(_BSD_OWN_MK_) _BSD_OWN_MK_=1 @@ -987,7 +987,7 @@ MAKEDIRTARGET=\ GENCMD=\ @_gencmd() { \ local _dst="$$1"; shift; local _src="$$1"; shift; local _gen="$$1"; shift; \ - local _tmp=$$( ${TOOL_MKTEMP} -d /tmp/XXXXXX ); \ + local _tmp=$$( ${TOOL_MKTEMP} -d /tmp/_gencmd.XXXXXX ); \ local _opwd=$$PWD; \ local _exit; \ cp $$_src $$_tmp; \