build-mg.sh: no more warning when clang is not installed [ci skip]

This commit is contained in:
Tom Reynolds 2014-02-15 02:38:42 +01:00
parent 7ce5476669
commit d348edc634
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ done
# 1. Install clang (sudo apt-get install clang)
# 2. Set the two vars below:
# WANT_CLANG=YES and CLANG_BIN_PATH=<path_to_the_clang_binary>
CLANG_BIN_PATH=$( which clang )
CLANGPP_BIN_PATH=$( which clang++ )
CLANG_BIN_PATH=$( which clang 2>/dev/null )
CLANGPP_BIN_PATH=$( which clang++ 2>/dev/null )
cd ${SCRIPTDIR}