From 9e3a2b102e140d491c8de7ddae083ae92d48423e Mon Sep 17 00:00:00 2001 From: m2049r Date: Tue, 25 Sep 2018 20:53:58 +0200 Subject: [PATCH] correct sed syntax --- doc/BUILDING-external-libs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/BUILDING-external-libs.md b/doc/BUILDING-external-libs.md index 7f24a4fa..4bddc1c3 100644 --- a/doc/BUILDING-external-libs.md +++ b/doc/BUILDING-external-libs.md @@ -87,8 +87,8 @@ cd boost_1_58_0 ``` Comment out ```using ::fgetpos;``` & ```using ::fsetpos;``` in ```cstdio```. ``` -sed -i backup "s|using ::fgetpos;|//using ::fgetpos;|" boost/compatibility/cpp_c_headers/cstdio -sed -i backup "s|using ::fsetpos;|//using ::fsetpos;|" boost/compatibility/cpp_c_headers/cstdio +sed -ibackup "s|using ::fgetpos;|//using ::fgetpos;|" boost/compatibility/cpp_c_headers/cstdio +sed -ibackup "s|using ::fsetpos;|//using ::fsetpos;|" boost/compatibility/cpp_c_headers/cstdio ``` Then build & install to ```/opt/android/build/boost``` with