Fix inverted EAPI default logic.
authorZac Medico <zmedico@gentoo.org>
Sat, 23 Dec 2006 01:35:16 +0000 (01:35 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 23 Dec 2006 01:35:16 +0000 (01:35 -0000)
svn path=/main/trunk/; revision=5358

bin/ebuild.sh

index 92d3bc09d45585885b337c3b8c80353e5e26fcd1..709aefaeeb07caac5b5aae295e4c74d8a08210b2 100755 (executable)
@@ -1619,7 +1619,7 @@ for myarg in ${EBUILD_SH_ARGS} ; do
 
                #the extra $(echo) commands remove newlines
                unset CDEPEND
-               [ -n "${EAPI}" ] && EAPI=0
+               [ -n "${EAPI}" ] || EAPI=0
                if [ -n "${dbkey}" ] ; then
                        > "${dbkey}"
                        for f in ${auxdbkeys} ; do