summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-05-23 09:42:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-05-23 09:42:27 +0000
commita5f67dcf25fae7c0200298623cccb61d9275fd28 (patch)
tree9e71e8abb38c91663e3101c17ffc47907479f61d /abuild.in
parent703ed7baf3743451b8824284082c9b523271d34f (diff)
downloadabuild-a5f67dcf25fae7c0200298623cccb61d9275fd28.tar.gz
abuild-a5f67dcf25fae7c0200298623cccb61d9275fd28.tar.bz2
abuild-a5f67dcf25fae7c0200298623cccb61d9275fd28.tar.xz
abuild-a5f67dcf25fae7c0200298623cccb61d9275fd28.zip
abuild: add support for uncompressed tar archives
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/abuild.in b/abuild.in
index 2780d2e..32dd153 100755
--- a/abuild.in
+++ b/abuild.in
@@ -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;;