diff options
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 |