commit:     c9eefea43ef844ba33fff731b2ba6c48e9133fcd
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 24 12:29:49 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Oct 24 12:29:49 2016 +0000
URL:        https://gitweb.gentoo.org/proj/android.git/commit/?id=c9eefea4

toolchain.eclass: prefixify the config shell.

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0d0fac9..27ff44a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1251,7 +1251,7 @@ toolchain_src_configure() {
        echo "${S}"/configure "${confgcc[@]}"
        # Older gcc versions did not detect bash and re-exec itself, so force 
the
        # use of bash.  Newer ones will auto-detect, but this is not harmeful.
-       CONFIG_SHELL="/bin/bash" \
+       CONFIG_SHELL="${EPREFIX}/bin/bash" \
        bash "${S}"/configure "${confgcc[@]}" || die "failed to run configure"
 
        # return to whatever directory we were in before

Reply via email to