Fix the shell script arguments not working at all.
This commit is contained in:
parent
4b1dd01128
commit
c3bf6609f2
@ -55,7 +55,8 @@ if [ "$#" != 0 ]; then
|
|||||||
do
|
do
|
||||||
case "$it" in
|
case "$it" in
|
||||||
-p | --printresult | --parallel | --target=* )
|
-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"
|
newArgs "$it"
|
||||||
else
|
else
|
||||||
usageExit
|
usageExit
|
||||||
|
Loading…
Reference in New Issue
Block a user