aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-09-08 12:49:47 +0100
committerAvatar David Leverton <levertond@googlemail.com> 2008-09-08 12:49:47 +0100
commit34ea2154564bd5b3bba6e6a27d382ca6c6e46bbf (patch)
tree73e4e78500c2e977a862fd0ea96f2bec8598de26
parentff8089c49f7d3653f83663452746611aa65b6a37 (diff)
downloadpaludis-34ea2154564bd5b3bba6e6a27d382ca6c6e46bbf.tar.gz
paludis-34ea2154564bd5b3bba6e6a27d382ca6c6e46bbf.tar.xz
Adjust PATH mangling. *grumble*
-rwxr-xr-xpaludis/repositories/e/ebuild/ebuild.bash8
1 files changed, 4 insertions, 4 deletions
diff --git a/paludis/repositories/e/ebuild/ebuild.bash b/paludis/repositories/e/ebuild/ebuild.bash
index b104f0a..a0d257b 100755
--- a/paludis/repositories/e/ebuild/ebuild.bash
+++ b/paludis/repositories/e/ebuild/ebuild.bash
@@ -25,6 +25,10 @@ if [[ -e ${ROOT}/etc/profile.env ]] && ! source "${ROOT}"/etc/profile.env; then
exit 123
fi
+# Force a few more things into PATH, since some users have crazy setups.
+# See ticket:374.
+export PATH="/bin:/sbin:/usr/bin:/usr/sbin:${PATH}"
+
unalias -a
set +C
unset GZIP BZIP BZIP2 CDPATH GREP_OPTIONS GREP_COLOR GLOBIGNORE
@@ -70,10 +74,6 @@ for p in ${PALUDIS_UTILITY_PATH_SUFFIXES} ; do
export PATH="${PALUDIS_EBUILD_DIR}/utils/${p}:${PATH}"
done
-# Force a few more things into PATH, since some users have crazy setups.
-# See ticket:374.
-export PATH="${PATH}:/bin:/sbin:/usr/bin:/usr/sbin"
-
EBUILD_MODULES_DIR=$(canonicalise $(dirname $0 ) )
if ! [[ -d ${EBUILD_MODULES_DIR} ]] ; then
echo "${EBUILD_MODULES_DIR} is not a directory" 1>&2