abuild: display error for unsupported archives

This commit is contained in:
Natanael Copa 2009-01-26 13:15:12 +00:00
parent fe7da984ae
commit e609357a1c
1 changed files with 3 additions and 0 deletions

3
abuild
View File

@ -163,6 +163,9 @@ unpack() {
*.zip)
msg "Unpacking $s..."
unzip "$s" -d "$srcdir" || return 1;;
*)
error "Archive not supported"
return 1;;
esac
done
}