From: Fabian Groffen Date: Tue, 15 May 2007 19:37:06 +0000 (-0000) Subject: Hi Grobian, X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6e94716cb4f3faefdbe93c80d986f3edd7a90413;p=portage.git 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 --- 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 ; }