summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2008-11-06 13:47:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2008-11-06 13:47:00 +0000
commit45ff2bfefe41c36d548fc4da5523f9b13f613560 (patch)
tree5c6f65abcb36b45d52cb21974418c8a3b596a3c3
parented9f3ec3427cff55fcc27beada6bb12e870ac3e0 (diff)
downloadabuild-45ff2bfefe41c36d548fc4da5523f9b13f613560.tar.gz
abuild-45ff2bfefe41c36d548fc4da5523f9b13f613560.tar.bz2
abuild-45ff2bfefe41c36d548fc4da5523f9b13f613560.tar.xz
abuild-45ff2bfefe41c36d548fc4da5523f9b13f613560.zip
unpack .tgz source files
-rwxr-xr-xabuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild b/abuild
index 357fca5..ec880b0 100755
--- a/abuild
+++ b/abuild
@@ -101,7 +101,7 @@ unpack() {
for u in $source; do
local s="$SRCDEST/${u##*/}" # $(basename $s)
case "$s" in
- *.tar.gz)
+ *.tar.gz|*.tgz)
tar -C "$srcdir" -zxf "$s" || return 1;;
*.tar.bz2)
tar -C "$srcdir" -jxf "$s" || return 1;;