Source bashrc after PATH tweaks inside ebuild_main().
authorZac Medico <zmedico@gentoo.org>
Wed, 25 Mar 2009 20:26:56 +0000 (20:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 Mar 2009 20:26:56 +0000 (20:26 -0000)
svn path=/main/trunk/; revision=13184

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