aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-04 05:28:55 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-04 05:28:55 +0000
commit73200d35a6700df5830756318a45940808bba83b (patch)
tree84ba64a9051fe2323f153ed732982233896bc4e3
parent67245806f70a81e6fa3ef9e09079c56553d0c895 (diff)
downloadpaludis-73200d35a6700df5830756318a45940808bba83b.tar.gz
paludis-73200d35a6700df5830756318a45940808bba83b.tar.xz
Pick out bashrc in ROOT/CONFIG_DIR too, to be consistent with default_config
-rwxr-xr-xebuild/ebuild.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index acec27e..7f1b3d0 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -91,6 +91,9 @@ unset ${_saved_vars}
if [[ -r ${PALUDIS_CONFIG_DIR}/bashrc ]]; then
source ${PALUDIS_CONFIG_DIR}/bashrc
fi
+if [[ -r ${ROOT}/${PALUDIS_CONFIG_DIR}/bashrc ]]; then
+ source ${ROOT}/${PALUDIS_CONFIG_DIR}/bashrc
+fi
if [[ -r ${HOME}/.paludis/bashrc ]]; then
source ${HOME}/.paludis/bashrc
fi