Fix the shell script arguments not working at all.

This commit is contained in:
Username404-59 2021-07-08 10:37:17 +02:00
parent 4b1dd01128
commit c3bf6609f2
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1

View File

@ -55,7 +55,8 @@ if [ "$#" != 0 ]; then
do
case "$it" in
-p | --printresult | --parallel | --target=* )
if test "${args#*$it}" = "$args" && test "$args" = "*.ybcon"; then
if test "${args#*$it}" = "$args"; then
if test "$args" = "*.ybcon*"; then usageExit; fi
newArgs "$it"
else
usageExit