Replace ~ by $HOME in build.sh

Somehow the file test with ~ interpolation does not work

Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Robert C. Helling 2016-03-15 11:28:25 +01:00 committed by Dirk Hohndel
parent b02b76aea0
commit 49bcbf39d5

View file

@ -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"