aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/utils/newexe
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/newexe
parentce0b5b61f068d6d4e270b68cf3d1221bd9b330ab (diff)
downloadpaludis-3150704bd7b499d3a040efa02487ff5be83e8bbd.tar.gz
paludis-3150704bd7b499d3a040efa02487ff5be83e8bbd.tar.xz
T -> TEMP for exheres.
Diffstat (limited to 'paludis/repositories/e/ebuild/utils/newexe')
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/newexe10
1 files changed, 5 insertions, 5 deletions
diff --git a/paludis/repositories/e/ebuild/utils/newexe b/paludis/repositories/e/ebuild/utils/newexe
index 55fa65d..93778f4 100755
--- a/paludis/repositories/e/ebuild/utils/newexe
+++ b/paludis/repositories/e/ebuild/utils/newexe
@@ -24,14 +24,14 @@
export PATH="${PALUDIS_EBUILD_DIR:+${PALUDIS_EBUILD_DIR}/utils:}${PATH}"
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
-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 [[ ${#} -ne 2 ]]; then
paludis_die_or_error "exactly two arguments needed"
fi
-rm -rf "${T}/${2}"
-cp "${1}" "${T}/${2}"
-doexe "${T}/${2}"
+rm -rf "${!PALUDIS_TEMP_DIR_VAR}/${2}"
+cp "${1}" "${!PALUDIS_TEMP_DIR_VAR}/${2}"
+doexe "${!PALUDIS_TEMP_DIR_VAR}/${2}"