summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
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;;