Commit fe74ef1b authored by Natanael Copa's avatar Natanael Copa

fix for saintycheck

parent 61cc69ea
......@@ -48,7 +48,7 @@ sanitycheck() {
[ -z "$pkgname" ] && die "Missing pkgname in APKBUILD"
[ -z "${pkgname##* *}" ] && die "pkgname contains spaces"
[ -z "$pkgver" ] && die "Missing pkgver in APKBUILD"
[ "${pkgver##[0-9]}" != "$pkgver" ] && \
[ "${pkgver##[0-9]}" == "$pkgver" ] && \
die "pkgver does not start with a digit"
[ -z "$pkgrel" ] && warning "Missing pkgrel in APKBUILD. Using pkgrel=0"
[ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment