From: Fabian Groffen Date: Sun, 10 Aug 2008 09:55:20 +0000 (-0000) Subject: check the same as what we will pass on X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=7ce86cfb8b777e81413e9b1d695ad098804a96df;p=portage.git check the same as what we will pass on svn path=/main/branches/prefix/; revision=11391 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index faa0c5d9f..688204270 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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.