From 36851d4f7379b9bdbf82263a88fb1e92182d73c4 Mon Sep 17 00:00:00 2001 From: spo Date: Tue, 8 Sep 2015 18:03:01 +0300 Subject: [PATCH] Improve Linux scripts --- salome_run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.39.2