Commit 3ad92d93 authored by Leo's avatar Leo

fix support for detection of uppercase

parent 2cdb1cbf
......@@ -175,7 +175,7 @@ superfluous_cd_builddir() {
pkgname_has_uppercase() {
[ "$SKIP_PKGNAME_HAS_UPPERCASE" ] && return 0
scan '^pkgname=*[A-Z]*' 'pkgname must not have uppercase characters'
scan '^pkgname=[a-z]*[A-Z]' 'pkgname must not have uppercase characters'
}
ret=0
......@@ -183,7 +183,7 @@ for apkbuild; do
if [ -f "$apkbuild" ]; then
# Source apkbuild, we need some nice values
srcdir="" . "$apkbuild" 2>/dev/null
srcdir="" . "$apkbuild"
default_builddir_value &
unnecessary_return_1 &
......
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