abuild: add support for uncompressed tar archives

This commit is contained in:
Natanael Copa 2012-05-23 09:42:27 +00:00
parent 703ed7baf3
commit a5f67dcf25

View File

@ -404,6 +404,9 @@ default_unpack() {
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)
case "$s" in
*.tar)
msg "Unpacking $s..."
tar -C "$srcdir" -xf "$s" || return 1;;
*.tar.gz|*.tgz)
msg "Unpacking $s..."
tar -C "$srcdir" -zxf "$s" || return 1;;