mirror of
https://github.com/outbackdingo/scratchpkg.git
synced 2026-03-20 03:13:05 +00:00
updated
This commit is contained in:
3
pkgbuild
3
pkgbuild
@@ -445,6 +445,9 @@ check_buildscript() {
|
||||
if [ -z "$name" ]; then
|
||||
msgerr "'name' is empty!"
|
||||
exit 1
|
||||
elif [ "$(echo $name | grep -oP "\w*[A-Z]+\w*")" ]; then
|
||||
msgerr "Capital letters for port name not allowed!"
|
||||
exit 1
|
||||
elif [ "$(basename $(pwd))" != "$name" ]; then
|
||||
msgerr "Port name and Directory name is different!"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user