From 49bcbf39d5150d288209839c5516490061985248 Mon Sep 17 00:00:00 2001 From: "Robert C. Helling" Date: Tue, 15 Mar 2016 11:28:25 +0100 Subject: Replace ~ by $HOME in build.sh Somehow the file test with ~ interpolation does not work Signed-off-by: Robert C. Helling Signed-off-by: Dirk Hohndel --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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" -- cgit v1.2.3-70-g09d2