correct sed syntax

This commit is contained in:
m2049r 2018-09-25 20:53:58 +02:00 committed by GitHub
parent 647ae9a565
commit 9e3a2b102e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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