diff --git a/build.sh b/build.sh
index 27580430ae7ffae86f3ca34b5e0f45555d150861..e99325f5f0bacaea6e2d40b04e72f21bc0b571d1 100755
--- a/build.sh
+++ b/build.sh
@@ -23,7 +23,7 @@ echo "GPU compilation: $with_gpu"
 
 if [ x"$hostname" == x"cifarm-centos-node.mpi-cbg.de"  ]; then
 	echo "CentOS node"
-	scl enable devtoolset-7 bash
+	source /etc/scl/conf/devtoolset-7
 fi
 
 if [ x"$hostname" == x"cifarm-ubuntu-node"  ]; then