aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpaludis/repositories/e/ebuild/write_binary_ebuild.bash6
-rwxr-xr-xpaludis/repositories/e/ebuild/write_vdb_entry.bash6
2 files changed, 6 insertions, 6 deletions
diff --git a/paludis/repositories/e/ebuild/write_binary_ebuild.bash b/paludis/repositories/e/ebuild/write_binary_ebuild.bash
index 5b20543e1..a0e15fdea 100755
--- a/paludis/repositories/e/ebuild/write_binary_ebuild.bash
+++ b/paludis/repositories/e/ebuild/write_binary_ebuild.bash
@@ -32,11 +32,11 @@ shopt -s extglob
export PATH="/usr/bin:/usr/sbin:/bin:/sbin${PATH:+:${PATH}}"
if [[ -n "${PALUDIS_EBUILD_DIR_FALLBACK}" ]] ; then
- export PATH="${PALUDIS_EBUILD_DIR_FALLBACK}/utils:${PATH}"
+ export PATH="${PALUDIS_EBUILD_DIR_FALLBACK}/utils${PATH:+:${PATH}}"
fi
-export PATH="${PALUDIS_EBUILD_DIR}/utils:${PATH}"
+export PATH="${PALUDIS_EBUILD_DIR}/utils${PATH:+:${PATH}}"
for p in ${PALUDIS_UTILITY_PATH_SUFFIXES} ; do
- export PATH="${PALUDIS_EBUILD_DIR}/utils/${p}:${PATH}"
+ export PATH="${PALUDIS_EBUILD_DIR}/utils/${p}${PATH:+:${PATH}}"
done
EBUILD_MODULES_DIR=$(canonicalise $(dirname $0 ) )
diff --git a/paludis/repositories/e/ebuild/write_vdb_entry.bash b/paludis/repositories/e/ebuild/write_vdb_entry.bash
index 0e0abc87b..4cb4b7dcb 100755
--- a/paludis/repositories/e/ebuild/write_vdb_entry.bash
+++ b/paludis/repositories/e/ebuild/write_vdb_entry.bash
@@ -32,11 +32,11 @@ shopt -s extglob
export PATH="/usr/bin:/usr/sbin:/bin:/sbin${PATH:+:${PATH}}"
if [[ -n "${PALUDIS_EBUILD_DIR_FALLBACK}" ]] ; then
- export PATH="${PALUDIS_EBUILD_DIR_FALLBACK}/utils:${PATH}"
+ export PATH="${PALUDIS_EBUILD_DIR_FALLBACK}/utils${PATH:+:${PATH}}"
fi
-export PATH="${PALUDIS_EBUILD_DIR}/utils:${PATH}"
+export PATH="${PALUDIS_EBUILD_DIR}/utils${PATH:+:${PATH}}"
for p in ${PALUDIS_UTILITY_PATH_SUFFIXES} ; do
- export PATH="${PALUDIS_EBUILD_DIR}/utils/${p}:${PATH}"
+ export PATH="${PALUDIS_EBUILD_DIR}/utils/${p}${PATH:+:${PATH}}"
done
EBUILD_MODULES_DIR=$(canonicalise $(dirname $0 ) )