From: Zac Medico Date: Wed, 25 Jan 2012 05:34:27 +0000 (-0800) Subject: phase-helpers.sh: set -x when emulating yes X-Git-Tag: v2.2.0_alpha85~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be009d82d552740843d703fcde33112dcd698a9e;p=portage.git phase-helpers.sh: set -x when emulating yes This avoids displaying a bunch of garbage in debug mode. --- diff --git a/bin/phase-helpers.sh b/bin/phase-helpers.sh index 517a91000..946520b20 100644 --- a/bin/phase-helpers.sh +++ b/bin/phase-helpers.sh @@ -302,7 +302,7 @@ unpack() { ZIP|zip|jar) # unzip will interactively prompt under some error conditions, # as reported in bug #336285 - ( while true ; do echo n || break ; done ) | \ + ( set +x ; while true ; do echo n || break ; done ) | \ unzip -qo "${srcdir}${x}" || die "$myfail" ;; gz|Z|z)