aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-24 08:00:42 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-24 16:58:55 -0800
commit82a1757e09540acec6ee5f6e97f5cdb7c216bbbf (patch)
tree1916b2c201e17537a0049e0a410d130c8142f26c /scripts
parentf3c06279f1d0c76384dd0f30617a603cf9ea3a76 (diff)
downloadsubsurface-82a1757e09540acec6ee5f6e97f5cdb7c216bbbf.tar.gz
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>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh6
1 files changed, 4 insertions, 2 deletions
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