X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=salome_run.sh;h=78609177af1cff3586a7f2959390aced63849001;hb=706361414a00e683cf7ecb6ca3e3a7e941833200;hp=e4dc6bd9527f5165eb18f7a981026990c7ac6393;hpb=8c37fcd892dbda4a381c3966847c982f28c4ab57;p=modules%2Fshaper.git diff --git a/salome_run.sh b/salome_run.sh index e4dc6bd95..78609177a 100755 --- a/salome_run.sh +++ b/salome_run.sh @@ -1,12 +1,13 @@ #!/bin/sh export ROOT_DIR=$(pwd)/.. +export ROOT_DIR=`cd "${ROOT_DIR}";pwd` -source ${ROOT_DIR}/sources/salome_env.sh +source ${ROOT_DIR}/sources/linux_env.sh # Correcting path which defined with error export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} +export SalomeAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui -export LightAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui - -SUITApp LightApp -style salome --modules=NewGeom --uselicense --noexcepthandling \ No newline at end of file +${PYTHONBIN} "${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" +${PYTHONBIN} "${KERNEL_ROOT_DIR}/bin/salome/runSalome.py"