Salome HOME
updated copyright message
[modules/kernel.git] / bin / appliskel / runRemoteSSL.sh
index 374fae90b3b7e8ce6263198187b6e7a0389918a3..07afbfd62a5a8bf1dc42eb0c84e31bdb55f21255 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright (C) 2021  CEA/DEN, EDF R&D
+# Copyright (C) 2021-2023  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -46,16 +46,13 @@ export APPLI=$("${APPLI_HOME}/getAppliPath.py")
 # Sourcing files with parameters works with bash, not with dash. This is why
 # we must use bash for this script.
 
-if "$1" == "--noenvd"
+if [ "$1" == "--noenvd" ]
 then
   shift
 else
   . "${HOME}/${APPLI}/envd" "${HOME}/${APPLI}"
 fi
 
-# --- set the OMNIORB_CONFIG file and environment relative to this run of SALOME
-export CUSTOM_NS_IOR=$1
-
 #go to the requested working directory if any
 if test "x$2" == "xWORKINGDIR"; then
   if test "x$3" = "x\$TEMPDIR"; then
@@ -86,4 +83,4 @@ fi
 
 # --- execute the command in the SALOME environment
 
-"${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" /bin/sh -c "$* $CUSTOM_NS_IOR"
+"${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" /bin/sh -c "$* "