From be009d82d552740843d703fcde33112dcd698a9e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 Jan 2012 21:34:27 -0800 Subject: phase-helpers.sh: set -x when emulating yes This avoids displaying a bunch of garbage in debug mode. --- bin/phase-helpers.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3-1-g7c22