From: vsv Date: Thu, 9 Aug 2018 09:47:51 +0000 (+0300) Subject: Take into account difference in Linux version configurations X-Git-Tag: SHAPER_V9_1_0RC1~73^2~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ead5be1caa3efaa273dc7c2937a0801b2909bba3;p=modules%2Fshaper.git Take into account difference in Linux version configurations --- diff --git a/make.sh b/make.sh index d70b02447..dcacba097 100755 --- 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}"