aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/utils/doins
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/e/ebuild/utils/doins')
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doins8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/ebuild/utils/doins b/paludis/repositories/e/ebuild/utils/doins
index 677ec53..b39c07d 100755
--- a/paludis/repositories/e/ebuild/utils/doins
+++ b/paludis/repositories/e/ebuild/utils/doins
@@ -28,8 +28,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
@@ -63,8 +63,8 @@ ret=0
for x in "$@"; do
if [[ -L ${x} ]]; then
- cp "${x}" "${T}"
- mysrc="${T}/$(basename "${x}")"
+ cp "${x}" "${!PALUDIS_TEMP_DIR_VAR}"
+ mysrc="${!PALUDIS_TEMP_DIR_VAR}/$(basename "${x}")"
elif [[ -d ${x} ]]; then
if [[ ${DOINSRECUR} == "n" ]]; then
continue