aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/utils/doexe
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-21 19:53:16 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-23 16:16:26 +0100
commit3150704bd7b499d3a040efa02487ff5be83e8bbd (patch)
tree9618f735dffb53ce7cb179375da053314e90650d /paludis/repositories/e/ebuild/utils/doexe
parentce0b5b61f068d6d4e270b68cf3d1221bd9b330ab (diff)
downloadpaludis-3150704bd7b499d3a040efa02487ff5be83e8bbd.tar.gz
paludis-3150704bd7b499d3a040efa02487ff5be83e8bbd.tar.xz
T -> TEMP for exheres.
Diffstat (limited to 'paludis/repositories/e/ebuild/utils/doexe')
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doexe8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/ebuild/utils/doexe b/paludis/repositories/e/ebuild/utils/doexe
index 757a2d597..ea88134f2 100755
--- a/paludis/repositories/e/ebuild/utils/doexe
+++ b/paludis/repositories/e/ebuild/utils/doexe
@@ -27,8 +27,8 @@ if [[ ! -d ${!PALUDIS_IMAGE_DIR_VAR} ]]; then
paludis_die_or_error "\${${PALUDIS_IMAGE_DIR_VAR}} not valid; aborting"
fi
-if [[ ! -d ${T} ]]; then
- paludis_die_or_error "\${T} not valid; aborting"
+if [[ ! -d ${!PALUDIS_TEMP_DIR_VAR} ]]; then
+ paludis_die_or_error "\${${PALUDIS_TEMP_DIR_VAR}} not valid; aborting"
fi
if [[ ${#} -lt 1 ]]; then
@@ -45,8 +45,8 @@ ret=0
for x in "$@"; do
if [[ -L ${x} ]]; then
- cp "${x}" "${T}"
- mysrc="${T}/$(/usr/bin/basename "${x}")"
+ cp "${x}" "${!PALUDIS_TEMP_DIR_VAR}"
+ mysrc="${!PALUDIS_TEMP_DIR_VAR}/$(/usr/bin/basename "${x}")"
elif [[ -d ${x} ]]; then
echo "${0}: skipping directory ${x}" >&2
continue