Okies this works locally for me now (and Zac)
authorAlec Warner <antarus@gentoo.org>
Tue, 9 Jan 2007 02:12:00 +0000 (02:12 -0000)
committerAlec Warner <antarus@gentoo.org>
Tue, 9 Jan 2007 02:12:00 +0000 (02:12 -0000)
svn path=/main/trunk/; revision=5492

bin/ebuild.sh

index c1b9bebcae36f2b8a4c2ba121bcaa9f6387ad987..85db5f7825552adf5b69099952eacbbee06f957a 100755 (executable)
@@ -45,7 +45,7 @@ qa_call() {
 
 if [ "$*" != "depend" ] && [ "$*" != "clean" ] && [ "$*" != "nofetch" ]; then
        if [ -f "${T}/environment" ]; then
-source "${T}/environment" &>/dev/null
+               qa_source "${T}/environment" &>/dev/null
        fi
 fi
 
@@ -126,7 +126,7 @@ for dir in ${PROFILE_PATHS}; do
        # Must unset it so that it doesn't mess up assumptions in the RCs.
        unset IFS
        if [ -f "${dir}/profile.bashrc" ]; then
-source "${dir}/profile.bashrc"
+               qa_source "${dir}/profile.bashrc"
        fi
 done
 restore_IFS
@@ -1260,7 +1260,7 @@ inherit() {
                #turn on glob expansion
                set +f
 
-source "$location" || die "died sourcing $location in inherit()"
+               qa_source "$location" || die "died sourcing $location in inherit()"
                
                #turn off glob expansion
                set -f