Collapse two [[ ]] into one. (trunk r14782)
authorZac Medico <zmedico@gentoo.org>
Sat, 7 Nov 2009 01:11:17 +0000 (01:11 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 7 Nov 2009 01:11:17 +0000 (01:11 -0000)
svn path=/main/branches/2.1.7/; revision=14795

bin/ebuild.sh

index 7a4e88bd824a1aec0fcfd9990662ca2a1735a1ae..8086bc694aaa62a6038054ad84be7dc12762b820 100755 (executable)
@@ -1830,7 +1830,7 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm ; then
                # interaction begins.
                unset DEPEND RDEPEND PDEPEND IUSE
 
-               if [[ $PORTAGE_DEBUG != 1 ]] || [[ ${-/x/} != $- ]] ; then
+               if [[ $PORTAGE_DEBUG != 1 || ${-/x/} != $- ]] ; then
                        source "$EBUILD" || die "error sourcing ebuild"
                else
                        set -x