diff --git a/jenkins/scripts/select-compiler.sh b/jenkins/scripts/select-compiler.sh index 04bf6aaf3..3ebd3bbf4 100644 --- a/jenkins/scripts/select-compiler.sh +++ b/jenkins/scripts/select-compiler.sh @@ -47,10 +47,7 @@ if [ "$SELECT_ARCH" = "PPC64LE" ]; then export LINK="ppc64le-redhat-linux-g++" echo "Compiler set to devtoolset-8" return - fi - ;; - *centos7* ) - if [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then + elif [ "$NODEJS_MAJOR_VERSION" -gt "9" ]; then # Setup devtoolset-6, sets LD_LIBRARY_PATH, PATH, etc. . /opt/rh/devtoolset-6/enable export CC="ccache ppc64le-redhat-linux-gcc"