diff --git a/opt_maven_install.sh b/opt_maven_install.sh index a5d906a503f28..f92cc8f08539e 100644 --- a/opt_maven_install.sh +++ b/opt_maven_install.sh @@ -23,7 +23,7 @@ if [[ "$1" == "true" ]]; then export PATH=${PATH}:${M2_HOME}/bin popd - ln -s /usr/bin/cmake3 /usr/bin/cmake + test -e /usr/bin/cmake || ln -s /usr/bin/cmake3 /usr/bin/cmake export CMAKE_C_COMPILER=gcc CMAKE_CXX_COMPILER=g++ # Build hadoop