summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/ebuild.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 60c8f5e22..d3470498d 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -356,8 +356,7 @@ unpack() {
_unpack_tar() {
if [ "${y}" == "tar" ]; then
- $1 -dc "$srcdir$x" | tar xof -
- assert "$myfail"
+ $1 -dc "$srcdir$x" | tar xof - || die "$myfail"
else
$1 -dc "${srcdir}${x}" > ${x%.*} || die "$myfail"
fi
@@ -372,8 +371,7 @@ unpack() {
tar xozf "$srcdir$x" || die "$myfail"
;;
tbz|tbz2)
- bzip2 -dc "$srcdir$x" | tar xof -
- assert "$myfail"
+ bzip2 -dc "$srcdir$x" | tar xof - || die "$myfail"
;;
ZIP|zip|jar)
unzip -qo "${srcdir}${x}" || die "$myfail"