summaryrefslogtreecommitdiffstats
path: root/bin/ebuild.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-xbin/ebuild.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index bfe9e072d..49cea8de8 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -399,6 +399,14 @@ unpack() {
bzip2 -dc "${srcdir}${x}" > ${x%.*} || die "$myfail"
fi
;;
+ 7Z|7z)
+ local my_output
+ my_output="$(7z x -y "${srcdir}/${x}")"
+ if [ $? -ne 0 ]; then
+ echo "${my_output}" >&2
+ die "$myfail"
+ fi
+ ;;
RAR|rar)
unrar x -idq "${srcdir}/${x}" || die "$myfail"
;;