summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-25 20:26:56 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-25 20:26:56 +0000
commit88e4aaac4370362d41fafacc22440b6f1bb323e3 (patch)
tree0347cb9786fd90ba8b2bb73a50f02ae72573169e
parent8cbdd24456cfc4d1fb6326068d9e6b64904ffc8e (diff)
downloadportage-88e4aaac4370362d41fafacc22440b6f1bb323e3.tar.gz
portage-88e4aaac4370362d41fafacc22440b6f1bb323e3.tar.bz2
portage-88e4aaac4370362d41fafacc22440b6f1bb323e3.zip
Source bashrc after PATH tweaks inside ebuild_main().
svn path=/main/trunk/; revision=13184
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 9ce5be334..f66de9aea 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1880,7 +1880,6 @@ if [ "${EBUILD_PHASE}" != "depend" ] ; then
fi
ebuild_main() {
- source_all_bashrcs
local f x
local export_vars="ASFLAGS CCACHE_DIR CCACHE_SIZE
CFLAGS CXXFLAGS LDFLAGS LIBCFLAGS LIBCXXFLAGS"
@@ -1920,6 +1919,8 @@ ebuild_main() {
fi
fi
+ source_all_bashrcs
+
case ${EBUILD_SH_ARGS} in
nofetch)
ebuild_phase_with_hooks pkg_nofetch