diff options
author | Robert C. Helling <helling@atdotde.de> | 2016-03-15 11:28:25 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2016-03-16 07:46:28 -0700 |
commit | 49bcbf39d5150d288209839c5516490061985248 (patch) | |
tree | b421164861021862063371b858f78aa128e60f6d /scripts | |
parent | b02b76aea0b027e5679d89cde0b914f82682ce57 (diff) | |
download | subsurface-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-x | scripts/build.sh | 4 |
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" |