diff options
author | Stefan Fuchs <sfuchs@gmx.de> | 2017-09-16 10:49:35 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-09-16 08:36:30 -0700 |
commit | dc0f0119200f78d1fc6eebb712ecec6f5687dfd5 (patch) | |
tree | 31153510ccc62f943d7e97f520edcfd092adc7cb /scripts/build.sh | |
parent | 19df57d7d31bdbd731202e7ab195b8fb9323cd05 (diff) | |
download | subsurface-dc0f0119200f78d1fc6eebb712ecec6f5687dfd5.tar.gz |
Correct incorrect variable qt_version instead of QT_VERSION in build.sh
Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'scripts/build.sh')
-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 0fd8de8d7..41ada3654 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -141,9 +141,9 @@ if [ $PLATFORM = Linux ] ; then QT_HEADERS_PATH=`$QMAKE -query QT_INSTALL_HEADERS` QT_VERSION=`$QMAKE -v | grep "Qt" | cut -d" " -f4` - if [ ! -d "$QT_HEADERS_PATH/QtLocation/$qt_version/QtLocation/private" ] && + if [ ! -d "$QT_HEADERS_PATH/QtLocation/$QT_VERSION/QtLocation/private" ] && [ ! -d $INSTALL_ROOT/include/QtLocation/private ] ; then - echo "Missing private Qt headers for $qt_version; downloading them..." + echo "Missing private Qt headers for $QT_VERSION; downloading them..." QTLOC_GIT=./qtlocation_git QTLOC_PRIVATE=$INSTALL_ROOT/include/QtLocation/private |