Module Name:    src
Committed By:   uebayasi
Date:           Fri Dec 11 08:52:37 UTC 2009

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
${GENCMD}:
Prefix tmp directories as /tmp/_gencmd.XXXXXX to give users a clue when it's
left accidentally.


To generate a diff of this commit:
cvs rdiff -u -r1.604 -r1.605 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.604 src/share/mk/bsd.own.mk:1.605
--- src/share/mk/bsd.own.mk:1.604	Fri Dec 11 08:37:34 2009
+++ src/share/mk/bsd.own.mk	Fri Dec 11 08:52:37 2009
@@ -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 @@
 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; \

Reply via email to