From e5a6df64152a14285356b908e95022d0d7dc02a0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 6 Sep 2010 14:34:55 -0700 Subject: [PATCH] Bug #336285 - Add workaround to unpack() in order to prevent unzip from interactively prompting under some error conditions. --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 7c3189ab8..bc4700e0b 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -390,6 +390,9 @@ unpack() { assert_sigpipe_ok "$myfail" ;; ZIP|zip|jar) + # unzip will interactively prompt under some error conditions, + # as reported in bug #336285 + ( while true ; do echo n ; done ) | \ unzip -qo "${srcdir}${x}" || die "$myfail" ;; gz|Z|z) -- 2.26.2