From bd9061e324388f26ea22a3a6071066daefd52300 Mon Sep 17 00:00:00 2001 From: mpv Date: Thu, 5 May 2016 15:30:32 +0300 Subject: [PATCH] Simplification of environment due to SALOME standards --- env_Salome.bat | 4 ++-- env_linux.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/env_Salome.bat b/env_Salome.bat index 980ed7b03..e61088b13 100644 --- a/env_Salome.bat +++ b/env_Salome.bat @@ -100,7 +100,7 @@ IF "%ARCH%" == "Win64" ( ) @SET SHAPER_ROOT_DIR=%ROOT_DIR%\install -@SET PATH=%SHAPER_ROOT_DIR%\bin\salome;%SHAPER_ROOT_DIR%\lib\salome;%PATH% -@SET PYTHONPATH=%SHAPER_ROOT_DIR%\bin\salome;%SHAPER_ROOT_DIR%\lib\salome;%PYTHONPATH% +@SET PATH=%SHAPER_ROOT_DIR%\lib\salome;%PATH% +@SET PYTHONPATH=%SHAPER_ROOT_DIR%\lib\salome;%PYTHONPATH% @SET LightAppConfig=%SHAPER_ROOT_DIR%\share\salome\resources\shaper;%GUI_ROOT_DIR%\share\salome\resources\gui diff --git a/env_linux.sh b/env_linux.sh index c376a2059..adff9d99a 100644 --- a/env_linux.sh +++ b/env_linux.sh @@ -52,6 +52,6 @@ export PATH=${CASROOT}:${PATH} ## #------ SHAPER ------ -export PATH=${SHAPER_ROOT_DIR}/bin/salome:${SHAPER_ROOT_DIR}/lib/salome:${PATH} -export PYTHONPATH=${SHAPER_ROOT_DIR}//bin/salome:${SHAPER_ROOT_DIR}/lib/salome:${PYTHONPATH} +export PATH=${SHAPER_ROOT_DIR}/lib/salome:${PATH} +export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${PYTHONPATH} export LD_LIBRARY_PATH=${SHAPER_ROOT_DIR}/bin/salome:${SHAPER_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} -- 2.39.2