Salome HOME
Removed setColor for Sketch entities from test scripts.
[modules/shaper.git] / make.sh
diff --git a/make.sh b/make.sh
index eb82fb25c014c4661c798935de644b7d1dbd07e2..dcacba097576f5acf49dce5ab02aae18405eea21 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -23,8 +23,15 @@ while [[ $# > 0 ]]; do
   esac
 done
 
+## Preserve PTHONPATH in order to avoid problems with Sphinx on Fedora26 because of Pigments in ParaView
+export PYTHONPATH_OLD=$PYTHONPATH
 source env.sh
 
+if [[ ${OS_NAME} = Fedora26-64 ]]
+then
+  export PYTHONPATH=$PYTHONPATH_OLD
+fi
+
 CMAKE_ARGS=""
 CMAKE_ARGS="${CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${BUILD_TYPE:-Release}"
 CMAKE_ARGS="${CMAKE_ARGS} -DUSE_TEST_COVERAGE=${USE_TEST_COVERAGE:-OFF}"