aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-23 01:35:46 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-23 01:35:46 +0000
commit6b3e5a462c2bc237ed34201e20c3a41e6242c753 (patch)
tree9c7f3ec7a35cf3e29cccb4bdbdbfd9f6fb308d13
parent80aa5f9203c94bc0c5d399e411323c01b77ad4d3 (diff)
downloadpaludis-6b3e5a462c2bc237ed34201e20c3a41e6242c753.tar.gz
paludis-6b3e5a462c2bc237ed34201e20c3a41e6242c753.tar.xz
Ensure that PALUDIS_HOME contains an absolute path.
-rwxr-xr-xebuild/ebuild.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 268970d..83231f3 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -34,8 +34,6 @@ export SANDBOX_WRITE="${SANDBOX_WRITE}:/proc/self/attr:/proc/self/task:/selinux/
export SANDBOX_ON="1"
export REAL_CHOST="${CHOST}"
-export PALUDIS_HOME="${PALUDIS_HOME:-${HOME}}"
-
shopt -s expand_aliases
shopt -s extglob
@@ -92,6 +90,8 @@ ebuild_load_module install_functions
ebuild_load_module build_functions
ebuild_load_module eclass_functions
+export PALUDIS_HOME="$(canonicalise ${PALUDIS_HOME:-${HOME}} )"
+
ebuild_source_profile()
{
if [[ -f ${1}/parent ]] ; then