From 36b3a07b3526b11b008ebf0d0eb39a1a04e187a3 Mon Sep 17 00:00:00 2001 From: Username404-59 Date: Wed, 7 Jul 2021 22:36:14 +0200 Subject: [PATCH] Show the usage dialog when a .ybcon file isn't provided in the shell script. --- scripts/ybcon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ybcon b/scripts/ybcon index 57e4f96..caee8f0 100755 --- a/scripts/ybcon +++ b/scripts/ybcon @@ -55,7 +55,7 @@ if [ "$#" != 0 ]; then do case "$it" in -p | --printresult | --parallel | --target=* ) - if test "${args#*$it}" = "$args"; then + if test "${args#*$it}" = "$args" && test "$args" = "*.ybcon"; then newArgs "$it" else usageExit