]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Take into account difference in Linux version configurations
authorvsv <vsv@opencascade.com>
Thu, 9 Aug 2018 09:47:51 +0000 (12:47 +0300)
committermpv <mikhail.ponikarov@opencascade.com>
Fri, 10 Aug 2018 07:37:22 +0000 (10:37 +0300)
make.sh

diff --git a/make.sh b/make.sh
index d70b02447ea72b01afecd2d6451da4ceec416485..dcacba097576f5acf49dce5ab02aae18405eea21 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -26,7 +26,11 @@ done
 ## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
 export PYTHONPATH_OLD=$PYTHONPATH
 source env.sh
-export PYTHONPATH=$PYTHONPATH_OLD
+
+if [[ ${OS_NAME} = Fedora26-64 ]]
+then
+  export PYTHONPATH=$PYTHONPATH_OLD
+fi
 
 CMAKE_ARGS=""
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"