summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-03-27 04:29:33 +0000
committerZac Medico <zmedico@gentoo.org>2009-03-27 04:29:33 +0000
commitd9a3bd0cee51760bd73b6d76c543974cd30fe003 (patch)
treec27cbab7cf277a3f127f9aa3bdfd22228f71b1a3
parentMove distcc and ccache PATH setup later, after EAPI is guaranteed to be known, (diff)
downloadportage-multirepo-d9a3bd0cee51760bd73b6d76c543974cd30fe003.tar.gz
portage-multirepo-d9a3bd0cee51760bd73b6d76c543974cd30fe003.tar.bz2
portage-multirepo-d9a3bd0cee51760bd73b6d76c543974cd30fe003.zip
Source bashrc after PATH tweaks inside ebuild_main(). (trunk r13184)
svn path=/main/branches/2.1.6/; revision=13213
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 9ce5be33..f66de9ae 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