diff --git a/run-build.sh b/run-build.sh index 45b49428a..7d383f86f 100755 --- a/run-build.sh +++ b/run-build.sh @@ -130,7 +130,8 @@ done argsnotargets=( ) for arg in ${args[@]} do - if [[ ${arg,,} != '/t:'* ]] && [[ ${arg,,} != '/target:'* ]]; then + arglower="$(echo $arg | awk '{print tolower($0)}')" + if [[ $arglower != '/t:'* ]] && [[ $arglower != '/target:'* ]]; then argsnotargets+=($arg) fi done