From: spo Date: Tue, 8 Sep 2015 15:03:01 +0000 (+0300) Subject: Improve Linux scripts X-Git-Tag: V_1.4.0_beta4~72 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36851d4f7379b9bdbf82263a88fb1e92182d73c4;p=modules%2Fshaper.git Improve Linux scripts --- diff --git a/salome_run.sh b/salome_run.sh index ddb38bb5d..cd02e5baa 100755 --- a/salome_run.sh +++ b/salome_run.sh @@ -26,7 +26,7 @@ ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py ${SALOME_ARGS} >log_runSalome 2>err_r SALOME_PID=$! ATTEMPT=0 -while [[ -f .salomeport && ${ATTEMPT} -lt 5 ]]; do +while [[ ! -f .salomeport && ${ATTEMPT} -lt 5 ]]; do sleep 5 SALOME_PORT=$(cat .salomeport) ATTEMPT=$[${ATTEMPT}+1]