From dc0f0119200f78d1fc6eebb712ecec6f5687dfd5 Mon Sep 17 00:00:00 2001 From: Stefan Fuchs Date: Sat, 16 Sep 2017 10:49:35 +0200 Subject: Correct incorrect variable qt_version instead of QT_VERSION in build.sh Signed-off-by: Stefan Fuchs --- scripts/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.3-70-g09d2