From 37b5b124366ba99615ae90cc9d966483b98b38e1 Mon Sep 17 00:00:00 2001 From: mpv Date: Tue, 27 Dec 2016 15:24:12 +0300 Subject: [PATCH] Some updates in environment --- env.sh | 2 +- env_Salome.bat | 4 ++-- env_linux.sh | 2 +- salomeRun_deb.bat | 1 - 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/env.sh b/env.sh index 25e315873..55c6be7d3 100644 --- a/env.sh +++ b/env.sh @@ -11,7 +11,7 @@ export AUT_DIR=$(pwd) export TOOLS_DIR=$(pwd) export HOME_OLD=$HOME -source /dn64/series8x/work/init.sh 2016-12-22 +source /dn64/series8x/work/init.sh 2016-12-26 export HOME=$HOME_OLD # Path to solvespace-2 diff --git a/env_Salome.bat b/env_Salome.bat index 996b0c07c..416599222 100644 --- a/env_Salome.bat +++ b/env_Salome.bat @@ -40,10 +40,10 @@ if "%BOOST_ROOT_DIR%" == "" ( ) ) -cd %SALOME_ROOT_DIR%\WORK +cd /d %SALOME_ROOT_DIR%\WORK call set_env.bat %1 call "%PDIR%\env_compile.bat" -cd %ROOT_DIR% +cd /d %ROOT_DIR% @REM ------------------------- @REM Python diff --git a/env_linux.sh b/env_linux.sh index e75fec9c5..5fad007a8 100644 --- a/env_linux.sh +++ b/env_linux.sh @@ -52,5 +52,5 @@ export PATH=${CASROOT}:${PATH} #------ SHAPER ------ export PATH=${SHAPER_ROOT_DIR}/bin/salome:${PATH} -export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${PYTHONPATH} +export PYTHONPATH=${SHAPER_ROOT_DIR}/bin/salome:${SHAPER_ROOT_DIR}/lib/python2.7/site-packages/salome:${PYTHONPATH} export LD_LIBRARY_PATH=${SHAPER_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} diff --git a/salomeRun_deb.bat b/salomeRun_deb.bat index 85fcc0fd2..75015844b 100644 --- a/salomeRun_deb.bat +++ b/salomeRun_deb.bat @@ -6,5 +6,4 @@ call env_Salome.bat d @SET SHAPER_ROOT_DIR=%ROOT_DIR%\install @SET SalomeAppConfig=%SHAPER_ROOT_DIR%\share\salome\resources\shaper;%GUI_ROOT_DIR%\share\salome\resources\gui -echo %PYTHONPATH% start %PYTHONBIN% "%KERNEL_ROOT_DIR%\bin\salome\envSalome.py" "%PYTHONBIN%" "%KERNEL_ROOT_DIR%\bin\salome\runSalome.py" %* -- 2.39.2