check the same as what we will pass on
authorFabian Groffen <grobian@gentoo.org>
Sun, 10 Aug 2008 09:55:20 +0000 (09:55 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 10 Aug 2008 09:55:20 +0000 (09:55 -0000)
svn path=/main/branches/prefix/; revision=11391

bin/ebuild.sh

index faa0c5d9f484fc76da9f586527c5eec7b351e1d8..68820427025e50aebeaa537758ba75341973d9ee 100755 (executable)
@@ -1517,7 +1517,7 @@ source_all_bashrcs() {
        [ -n "$EBUILD_PHASE" ] || return
        local x
 
-       if [[ -n $EAPI ]] ; then
+       if [[ -n ${EAPI/prefix/} ]] ; then
                # PREFIX HACK: just remove "prefix" from EAPI here, this file
                # currently assumes EAPI to contain a single token, and "prefix"
                # is ortogonal to all supported EAPIs here.