From 82a1757e09540acec6ee5f6e97f5cdb7c216bbbf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 24 Nov 2017 08:00:42 -0800 Subject: build.sh: only modify googlemaps .qmake.conf on Mac This otherwise causes a failure on Linux builds. Signed-off-by: Dirk Hohndel --- scripts/build.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index 23b978efa..0e350de23 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 -- cgit v1.2.3-70-g09d2