Salome HOME
Fix for the issue #593: do not remove naming attribute, but use TNaming_Builder for...
[modules/shaper.git] / linux_run.sh
index b67ae15e052e820ec5c5fcd29b63ceaf5159d40d..d6f768320f52594fe25fff7173d516794a991c24 100755 (executable)
@@ -5,7 +5,10 @@ export ROOT_DIR=$(pwd)/..
 export ROOT_DIR=`cd "${ROOT_DIR}";pwd`
 
 SRC_DIR=${ROOT_DIR}/sources
+source ${SRC_DIR}/salome_env.sh
+source ${SRC_DIR}/linux_env.sh $1
 
-source ${SRC_DIR}/linux_env.sh
+INSTALL_DIR=install
+if [ $1 ]; then INSTALL_DIR=${INSTALL_DIR}-$1; fi
 
-${ROOT_DIR}/install/bin/GeomApp
+${ROOT_DIR}/${INSTALL_DIR}/bin/GeomApp