]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF18485] : OMNIORB_CONFIG pointed to an invalid omniORB config file in case of...
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 22 Mar 2019 07:11:45 +0000 (08:11 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 22 Mar 2019 07:11:45 +0000 (08:11 +0100)
bin/appliskel/runRemote.sh

index 77ea46fb8237718b9e18ea66e8e2437db3b1f466..a62326b39fb2bd6910ccc07e61b14a22c8ef9cec 100755 (executable)
@@ -55,10 +55,6 @@ export APPLI=$("${APPLI_HOME}/getAppliPath.py")
 export NSHOST=$1
 export NSPORT=$2
 
-# Get (in bash) the configuration filename from (Python) ORBConfigFile return values
-RETURN_VALUES=$("${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" python "${KERNEL_ROOT_DIR}/bin/salome/ORBConfigFile.py" "${OMNIORB_USER_PATH}" "${NSHOST}" "${NSPORT}" "with_username=${USER}")
-export OMNIORB_CONFIG=$(echo "${RETURN_VALUES}" | cut -d' ' -f1)
-
 #go to the requested working directory if any
 if test "x$3" == "xWORKINGDIR"; then
   if test "x$4" = "x\$TEMPDIR"; then
@@ -87,6 +83,10 @@ else
   shift 2
 fi
 
+# Get (in bash) the configuration filename from (Python) ORBConfigFile return values
+RETURN_VALUES=$("${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" python "${KERNEL_ROOT_DIR}/bin/salome/ORBConfigFile.py" "${OMNIORB_USER_PATH}" "${NSHOST}" "${NSPORT}" "with_username=${USER}")
+export OMNIORB_CONFIG=$(echo "${RETURN_VALUES}" | cut -d' ' -f1)
+
 # --- execute the command in the SALOME environment