From 4431e4c8951b40de89dd3ee64e98634de34cc2dd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 29 Dec 2010 10:51:28 -0800 Subject: [PATCH] unpack: handle echo failure in unzip pipe This will fix bug #338744. --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e88f0158d..8e58b86d5 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -387,7 +387,7 @@ unpack() { ZIP|zip|jar) # unzip will interactively prompt under some error conditions, # as reported in bug #336285 - ( while true ; do echo n ; done ) | \ + ( while true ; do echo n || break ; done ) | \ unzip -qo "${srcdir}${x}" || die "$myfail" ;; gz|Z|z) -- 2.26.2