summaryrefslogtreecommitdiff
path: root/abuild.in
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-05-04 11:28:44 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-05-04 11:28:44 +0000
commit5a3bb63846037b6dcf17a79628cdb45d01d44113 (patch)
treed7175c569fec221d8b7a09b26e73f1358bc8a28f /abuild.in
parent571de990da9692705f04c4902a8e2b9103b58846 (diff)
downloadabuild-5a3bb63846037b6dcf17a79628cdb45d01d44113.tar.gz
abuild-5a3bb63846037b6dcf17a79628cdb45d01d44113.tar.bz2
abuild-5a3bb63846037b6dcf17a79628cdb45d01d44113.tar.xz
abuild-5a3bb63846037b6dcf17a79628cdb45d01d44113.zip
abuild: force pkgrel in APKBUILD
its needed for bumping pkgrel with sed and similar
Diffstat (limited to 'abuild.in')
-rwxr-xr-xabuild.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/abuild.in b/abuild.in
index bfb15b1..fe73d93 100755
--- a/abuild.in
+++ b/abuild.in
@@ -91,7 +91,7 @@ sanitycheck() {
$APK version --check -q "$pkgver" ||\
die "$pkgver is not a valid version"
fi
- [ -z "$pkgrel" ] && warning "Missing pkgrel in APKBUILD. Using pkgrel=0"
+ [ -z "$pkgrel" ] && die "Missing pkgrel in APKBUILD"
[ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD"
[ -z "$url" ] && die "Missing url in APKBUILD"
[ -z "$license" ] && die "Missing license in APKBULID"