From: Zac Medico Date: Wed, 29 Dec 2010 18:51:28 +0000 (-0800) Subject: unpack: handle echo failure in unzip pipe X-Git-Tag: v2.1.9.27~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4431e4c8951b40de89dd3ee64e98634de34cc2dd;p=portage.git unpack: handle echo failure in unzip pipe This will fix bug #338744. --- 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)