diff --git a/scripts/build.sh b/scripts/build.sh index e4164db4f..122abd40e 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -140,9 +140,9 @@ fi mkdir -p build cd build if [ $PLATFORM = Darwin ] ; then - if [ -d "~/Qt/5.5" ] ; then + if [ -d "$HOME/Qt/5.5" ] ; then export CMAKE_PREFIX_PATH=~/Qt/5.5/clang_64/lib/cmake - elif [ -d "~/Qt/5.6" ] ; then + elif [ -d "$HOME/Qt/5.6" ] ; then export CMAKE_PREFIX_PATH=~/Qt/5.6/clang_64/lib/cmake else echo "cannot find Qt 5.5 or 5.6 in ~/Qt"