Fix broken [ -z "" ] test. Thanks to Volkov Peter <pva@gentoo.org> for this patch...
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 17:41:03 +0000 (17:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Sep 2006 17:41:03 +0000 (17:41 -0000)
svn path=/main/trunk/; revision=4556

bin/ebuild.sh

index d093fe0b1cdeee975b9441a66fe5790bd6ef40e5..b577fa3631f54253e3b429a347a46f829f1eb667 100755 (executable)
@@ -559,7 +559,7 @@ einstall() {
        fi
 
        if [ -f ./[mM]akefile -o -f ./GNUmakefile ] ; then
-               if [ ! -z "${PORTAGE_DEBUG}" ]; then
+               if [ "${PORTAGE_DEBUG}" == "1" ]; then
                        make -n prefix=${D}/usr \
                                datadir=${D}/usr/share \
                                infodir=${D}/usr/share/info \