This commit is contained in:
emmett1
2020-11-18 23:19:51 +08:00
parent b42c48a88c
commit bc77ed9758
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -735,7 +735,7 @@ scratch_sysup() {
}
[ "$(echo $PKGOUTDATE | tr ' ' '\n' | grep -x scratchpkg)" ] && {
echo
msgwarn "Please upgrade 'scratchpkg' first.'"
msgerr "Please upgrade 'scratchpkg' first."
return 1
}
UPGPKG=0