Collapse two [[ ]] into one.
authorZac Medico <zmedico@gentoo.org>
Fri, 6 Nov 2009 22:30:24 +0000 (22:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 6 Nov 2009 22:30:24 +0000 (22:30 -0000)
svn path=/main/trunk/; revision=14782

bin/ebuild.sh

index 0a8fb41abf42a2b165675f61d9eda86f75e3fe32..38fdea89169b9314d6d21bd92f24b4f336c6b8bc 100755 (executable)
@@ -1824,7 +1824,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