diff options
-rwxr-xr-x | scripts/build.sh | 6 |
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 |