From d12e842c6845b6afd9cc6070423e6e2338722a59 Mon Sep 17 00:00:00 2001 From: Anton Lundin Date: Mon, 14 May 2018 21:36:29 +0200 Subject: android-build: Use sed -i instead of home rolled variant Signed-off-by: Anton Lundin --- packaging/android/build.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'packaging/android') 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 -- cgit v1.2.3-70-g09d2