Commit a5f67dcf authored by Natanael Copa's avatar Natanael Copa

abuild: add support for uncompressed tar archives

parent 703ed7ba
...@@ -404,6 +404,9 @@ default_unpack() { ...@@ -404,6 +404,9 @@ default_unpack() {
for u in $source; do for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s) local s="$SRCDEST/${u##*/}" # $(basename $s)
case "$s" in case "$s" in
*.tar)
msg "Unpacking $s..."
tar -C "$srcdir" -xf "$s" || return 1;;
*.tar.gz|*.tgz) *.tar.gz|*.tgz)
msg "Unpacking $s..." msg "Unpacking $s..."
tar -C "$srcdir" -zxf "$s" || return 1;; tar -C "$srcdir" -zxf "$s" || return 1;;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment