summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;;