diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/ebuild.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 3f5352b29..4e98b6474 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -496,6 +496,14 @@ unpack() { a|deb) ar x "${srcdir}/${x}" || die "$myfail" ;; + lzma) + if [ "${y}" == "tar" ]; then + lzma -dc "${srcdir}${x}" | tar xof - ${tar_opts} + assert "$myfail" + else + lzma -dc "${srcdir}${x}" > ${x%.*} || die "$myfail" + fi + ;; *) vecho "unpack ${x}: file format not recognized. Ignoring." ;; |