build.sh: only modify googlemaps .qmake.conf on Mac

This otherwise causes a failure on Linux builds.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-11-24 08:00:42 -08:00
parent f3c06279f1
commit 82a1757e09

View file

@ -451,8 +451,10 @@ if [ "$SKIP_GOOGLEMAPS" != "1" ] ; then
git checkout master
git pull --rebase
# remove the qt_build_config from .qmake.conf as that fails on Travis
sed -i '' 's/.*qt_build_config.*//' .qmake.conf
if [ $PLATFORM = "Darwin" ] ; then
# remove the qt_build_config from .qmake.conf as that fails on Travis
sed -i 's/.*qt_build_config.*//' .qmake.conf
fi
mkdir -p build
cd build