summaryrefslogtreecommitdiffstats
path: root/packaging/android/build.sh
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-25 21:57:08 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-12-25 21:58:30 -0800
commit320ff2eba3dbc37821402b318a0704c1c2441888 (patch)
tree2f87b9f239ce514a275caae11c9108a110dce4a0 /packaging/android/build.sh
parent8e299727df0fb1fe4805aedbb496b7b370b12870 (diff)
downloadsubsurface-320ff2eba3dbc37821402b318a0704c1c2441888.tar.gz
Android build: use better sed syntax
There is no reason to use '!' as separator and in some shell environments this can cause problems. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging/android/build.sh')
-rw-r--r--packaging/android/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/android/build.sh b/packaging/android/build.sh
index 61cea7af9..f9dae9b48 100644
--- a/packaging/android/build.sh
+++ b/packaging/android/build.sh
@@ -323,7 +323,7 @@ cmake $MOBILE_CMAKE \
# sometimes cmake tries to link both against the static and shared
# libcrypto - that's not helpful
-sed -i "s!-lcrypto!!g" CMakeFiles/subsurface-mobile.dir/link.txt
+sed -i -e "s/-lcrypto//g" CMakeFiles/subsurface-mobile.dir/link.txt
# now build Subsurface and use the rest of the command line arguments
make $@