mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
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:
parent
b02b76aea0
commit
49bcbf39d5
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue