summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2009-01-26 10:14:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-26 10:59:19 +0000
commit025590c06b6d2583435154546a7a5498b92a82bb (patch)
tree7f11a03d1f4b048a53f3c94b89103b5b9e226e9b
parent7e4549ff9e7177d4331e050894514efa5b73e52d (diff)
downloadabuild-025590c06b6d2583435154546a7a5498b92a82bb.tar.gz
abuild-025590c06b6d2583435154546a7a5498b92a82bb.tar.bz2
abuild-025590c06b6d2583435154546a7a5498b92a82bb.tar.xz
abuild-025590c06b6d2583435154546a7a5498b92a82bb.zip
core/abuild: add zip archive support
-rwxr-xr-xabuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/abuild b/abuild
index cfa4484..9186fc5 100755
--- a/abuild
+++ b/abuild
@@ -160,6 +160,9 @@ unpack() {
msg "Unpacking $s..."
unlzma -c "$s" | tar -C "$srcdir" -x \
|| return 1;;
+ *.zip)
+ msg "Unpacking $s..."
+ unzip "$s" -d "$srcdir" || return 1;;
esac
done
}