diff --git a/dependency/shell/run.sh b/dependency/shell/run.sh index b84bfbc..3a38a95 100644 --- a/dependency/shell/run.sh +++ b/dependency/shell/run.sh @@ -9,7 +9,7 @@ do for i in {1..4} do j=$((i - 1)) - if [-f "./python/player$i.py"]; then + if [ -f "./python/player$i.py" ]; then nice -0 python3 ./python/player$i.py -I 127.0.0.1 -P 8888 -p $j elif [-f "./capi$i"]; then nice -0 ./capi$i -I 127.0.0.1 -P 8888 -p $j @@ -21,9 +21,9 @@ do for i in {5..5} do j=$((i - 1)) - if [-f "./python/player$i.py"]; then + if [ -f "./python/player$i.py" ]; then nice -0 python3 ./python/player$i.py -I 127.0.0.1 -P 8888 -p $j - elif [-f "./capi$i"]; then + elif [ -f "./capi$i" ]; then nice -0 ./capi$i -I 127.0.0.1 -P 8888 -p $j else echo "ERROR. $i is not found."