summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2016-03-15 11:28:25 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-03-16 07:46:28 -0700
commit49bcbf39d5150d288209839c5516490061985248 (patch)
treeb421164861021862063371b858f78aa128e60f6d /scripts
parentb02b76aea0b027e5679d89cde0b914f82682ce57 (diff)
downloadsubsurface-49bcbf39d5150d288209839c5516490061985248.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh4
1 files changed, 2 insertions, 2 deletions
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"