summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-11-06 22:30:24 +0000
committerZac Medico <zmedico@gentoo.org>2009-11-06 22:30:24 +0000
commitda2ff702c7aaa418bb7efd5b33d23bedc34607d5 (patch)
tree8b6f6214701abefa881c4349c0479b0f54ecf3c2 /bin/ebuild.sh
parentFor --debug mode, enable bash tracing when sourcing the ebuild. (diff)
downloadportage-idfetch-da2ff702c7aaa418bb7efd5b33d23bedc34607d5.tar.gz
portage-idfetch-da2ff702c7aaa418bb7efd5b33d23bedc34607d5.tar.bz2
portage-idfetch-da2ff702c7aaa418bb7efd5b33d23bedc34607d5.zip
Collapse two [[ ]] into one.
svn path=/main/trunk/; revision=14782
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 0a8fb41a..38fdea89 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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