summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2018-05-14 21:36:29 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2018-05-17 07:36:44 -0700
commitd12e842c6845b6afd9cc6070423e6e2338722a59 (patch)
tree4ff8e2d10087e7b07a146203d136e72f05a4e731 /packaging
parentfa95a7c56aaeeeba9879552c85e1f85b0594d22c (diff)
downloadsubsurface-d12e842c6845b6afd9cc6070423e6e2338722a59.tar.gz
android-build: Use sed -i instead of home rolled variant
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Diffstat (limited to 'packaging')
-rwxr-xr-xpackaging/android/build.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 4cc29e8df..e5c10562e 100755
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -182,8 +182,7 @@ $QMAKE ../googlemaps.pro
# on Travis the compiler doesn't support c++1z, yet qmake adds that flag;
# since things compile fine with c++11, let's just hack that away
# similarly, don't use -Wdata-time
-mv Makefile Makefile.bak
-cat Makefile.bak | sed -e 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' > Makefile
+sed -i.bak -e 's/std=c++1z/std=c++11/g ; s/-Wdate-time//' Makefile
make -j4
QT_PLUGINS_PATH=`$QMAKE -query QT_INSTALL_PLUGINS`
GOOGLEMAPS_BIN=libqtgeoservices_googlemaps.so