Source bashrc after PATH tweaks inside ebuild_main(). (trunk r13184)
authorZac Medico <zmedico@gentoo.org>
Fri, 27 Mar 2009 04:29:33 +0000 (04:29 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 27 Mar 2009 04:29:33 +0000 (04:29 -0000)
svn path=/main/branches/2.1.6/; revision=13213

bin/ebuild.sh

index 9ce5be3346249d164b8340714bc411c89205ae14..f66de9aea60713b225f3f473fe6afee56e970a21 100755 (executable)
@@ -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