mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-08 15:50:38 +00:00
parent
3ac1b1294a
commit
36a55af4a0
@ -132,6 +132,9 @@ default_sanitycheck() {
|
||||
[ -z "$pkgdesc" ] && die "Missing pkgdesc in APKBUILD"
|
||||
[ -z "$url" ] && die "Missing url in APKBUILD"
|
||||
[ -z "$license" ] && die "Missing license in APKBULID"
|
||||
if [ $(echo "$pkgdesc" | wc -c) -gt 128 ]; then
|
||||
die "pkgdesc is too long"
|
||||
fi
|
||||
|
||||
if [ -n "$replaces_priority" ] \
|
||||
&& ! echo $replaces_priority | egrep -q '^[0-9]+$'; then
|
||||
|
Loading…
Reference in New Issue
Block a user