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