From c3bf6609f2b576e833357810aa4ea4bbee2370e2 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Thu, 8 Jul 2021 10:37:17 +0200 Subject: [PATCH] Fix the shell script arguments not working at all. --- scripts/ybcon | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/ybcon b/scripts/ybcon index caee8f0..9ac909a 100755 --- a/scripts/ybcon +++ b/scripts/ybcon @@ -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