From c0cfb71ba36ea4913619641b479855460f12a2cb Mon Sep 17 00:00:00 2001 From: vsv Date: Thu, 9 Aug 2018 12:47:51 +0300 Subject: [PATCH] Take into account difference in Linux version configurations --- make.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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}" -- 2.39.2