diff options
-rwxr-xr-x | abuild.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |