summaryrefslogtreecommitdiffstats
path: root/abuild
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-01-26 13:15:12 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-01-26 13:15:12 +0000
commite609357a1c6ce32fba94c84c58502ebed19ebe32 (patch)
tree6c8fadcda50baa7e293c2108e044b4c00cee5b02 /abuild
parentfe7da984ae90d48941aefdb775808f4a09c3c5d1 (diff)
downloadabuild-e609357a1c6ce32fba94c84c58502ebed19ebe32.tar.bz2
abuild-e609357a1c6ce32fba94c84c58502ebed19ebe32.tar.xz
abuild: display error for unsupported archives
Diffstat (limited to 'abuild')
-rwxr-xr-xabuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/abuild b/abuild
index e58d712..9370d51 100755
--- a/abuild
+++ b/abuild
@@ -163,6 +163,9 @@ unpack() {
*.zip)
msg "Unpacking $s..."
unzip "$s" -d "$srcdir" || return 1;;
+ *)
+ error "Archive not supported"
+ return 1;;
esac
done
}