aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/utils/doexe
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-08-21 19:22:15 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-08-23 16:16:26 +0100
commit073be1cd9c89ac1de7845c0cdcd370b86cbbe3d8 (patch)
treeaee433f67a2e60306d2bb10476b0be8189483d6c /paludis/repositories/e/ebuild/utils/doexe
parent7c34d224c099b6e95fdd448e477f9a935fa3e5fb (diff)
downloadpaludis-073be1cd9c89ac1de7845c0cdcd370b86cbbe3d8.tar.gz
paludis-073be1cd9c89ac1de7845c0cdcd370b86cbbe3d8.tar.xz
D -> IMAGE for exheres.
Diffstat (limited to 'paludis/repositories/e/ebuild/utils/doexe')
-rwxr-xr-xpaludis/repositories/e/ebuild/utils/doexe12
1 files changed, 6 insertions, 6 deletions
diff --git a/paludis/repositories/e/ebuild/utils/doexe b/paludis/repositories/e/ebuild/utils/doexe
index 92723cfd5..757a2d597 100755
--- a/paludis/repositories/e/ebuild/utils/doexe
+++ b/paludis/repositories/e/ebuild/utils/doexe
@@ -23,8 +23,8 @@
source "${PALUDIS_EBUILD_DIR}"/die_functions.bash
-if [[ ! -d ${D} ]]; then
- paludis_die_or_error "\${D} not valid; aborting"
+if [[ ! -d ${!PALUDIS_IMAGE_DIR_VAR} ]]; then
+ paludis_die_or_error "\${${PALUDIS_IMAGE_DIR_VAR}} not valid; aborting"
fi
if [[ ! -d ${T} ]]; then
@@ -35,9 +35,9 @@ if [[ ${#} -lt 1 ]]; then
paludis_die_or_error "at least one argument needed"
fi
-if [[ ! -d "${D}${EXEDESTTREE}" ]]; then
- if ! install -d "${D}${EXEDESTTREE}" ; then
- paludis_die_or_error "could not create ${D}${EXEDESTTREE}"
+if [[ ! -d "${!PALUDIS_IMAGE_DIR_VAR}${EXEDESTTREE}" ]]; then
+ if ! install -d "${!PALUDIS_IMAGE_DIR_VAR}${EXEDESTTREE}" ; then
+ paludis_die_or_error "could not create ${!PALUDIS_IMAGE_DIR_VAR}${EXEDESTTREE}"
fi
fi
@@ -53,7 +53,7 @@ for x in "$@"; do
else
mysrc="${x}"
fi
- install ${EXEOPTIONS} "${mysrc}" "${D}${EXEDESTTREE}" || ret=2
+ install ${EXEOPTIONS} "${mysrc}" "${!PALUDIS_IMAGE_DIR_VAR}${EXEDESTTREE}" || ret=2
done
[[ 0 != "${ret}" ]] && paludis_die_or_error "doexe returned error ${ret}"