phase-helpers.sh: set -x when emulating yes
authorZac Medico <zmedico@gentoo.org>
Wed, 25 Jan 2012 05:34:27 +0000 (21:34 -0800)
committerZac Medico <zmedico@gentoo.org>
Wed, 25 Jan 2012 05:34:27 +0000 (21:34 -0800)
This avoids displaying a bunch of garbage in debug mode.

bin/phase-helpers.sh

index 517a91000506eaea028f508afe5d3c114b494a40..946520b20f5543ed4572c42581522854e5d610f6 100644 (file)
@@ -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)