From 9258c1d3ec0f133e2eb448112d5d751a811d6800 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e88f015..8e58b86 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) -- 1.7.3.3