strip out prefix to make it work properly, thanks Zac for the notification
authorFabian Groffen <grobian@gentoo.org>
Tue, 23 Dec 2008 18:33:43 +0000 (18:33 -0000)
committerFabian Groffen <grobian@gentoo.org>
Tue, 23 Dec 2008 18:33:43 +0000 (18:33 -0000)
svn path=/main/branches/prefix/; revision=12283

bin/ebuild.sh

index 2f0c0e9dd3a53a7837554e067473b88bf7cac303..5de2d1aee21165aff37468b4d4d9c19ab5e7212a 100755 (executable)
@@ -2078,7 +2078,7 @@ ebuild_main() {
 
                # alphabetically ordered by $EBUILD_PHASE value
                local valid_phases
-               case $eapi in
+               case ${eapi/prefix/} in
                        0|1)
                                valid_phases="src_compile pkg_config pkg_info src_install
                                        pkg_nofetch pkg_postinst pkg_postrm pkg_preinst pkg_prerm