From 6e94716cb4f3faefdbe93c80d986f3edd7a90413 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Tue, 15 May 2007 19:37:06 +0000 Subject: [PATCH] Hi Grobian, in prefix-portage/subst-install.in there is a problem using ${TMP-/tmp} as temporary directory instead of ${TMPDIR-/tmp}. TMP is undefined for unix, TMPDIR needs to be used instead. But on Interix/Windows, TMP must be defined as dos-style path... Thanks! /haubi/ (so far for the smell of Windows, thanks Michael Haubenwallner) svn path=/main/branches/prefix/; revision=6538 --- subst-install.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subst-install.in b/subst-install.in index 904a6c7ff..e9e6d6821 100644 --- a/subst-install.in +++ b/subst-install.in @@ -17,7 +17,7 @@ me=${mydir}/${myname} . ${mydir}/subst-install.vars -substinstall_tmpdir=${TMP-/tmp}/${myname}.$$ +substinstall_tmpdir=${TMPDIR-/tmp}/${myname}.$$ trap "${RM} -rf \${substinstall_tmpdir}" "0" mkdir -p ${substinstall_tmpdir} \ || { echo "cannot create directory ${substinstall_tmpdir}" >&2 ; exit 1 ; } -- 2.26.2