Explorar o código

MOD: fix bash syntax

zhangxin %!s(int64=8) %!d(string=hai) anos
pai
achega
5780df320f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tool/start-server.sh

+ 1 - 1
tool/start-server.sh

@@ -14,7 +14,7 @@ while getopts "p:" OPT; do
     esac
 done
 
-if [ "$OPT" == 'dev' ]; then
+if [[ "$OPT" == 'dev' ]]; then
     java -jar -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=$profile target/mooctest-site-server.jar
 else
     screen -dm java -jar -Djava.security.egd=file:/dev/./urandom -Dspring.profiles.active=$profile target/mooctest-site-server.jar &