From d6d492f8e8d8130a7ba60e45701cba3a6b7fdfdb Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 28 Jun 2005 10:57:19 +0000 Subject: [PATCH] MPV: for automatic test scenarios: just return free port in case "-nothing" option --- bin/runSalome | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/runSalome b/bin/runSalome index ff478c1a0..178359e35 100755 --- a/bin/runSalome +++ b/bin/runSalome @@ -33,7 +33,9 @@ searchFreePort() { searchFreePort -if [ $# -ne 0 ] ; then +if [[ "$*" == "-nothing" ]]; then + echo "port:$NSPORT" +elif [ $# -ne 0 ] ; then python -i ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py $* else python ${KERNEL_ROOT_DIR}/bin/salome/runSalome.py -- 2.39.2