diff options
author | Johann <johannkoenig@google.com> | 2018-05-18 11:32:59 -0700 |
---|---|---|
committer | Johann <johannkoenig@google.com> | 2018-05-18 11:32:59 -0700 |
commit | 1a0047994f34dde83fb45349618de0f34827c8d6 (patch) | |
tree | d089b5191091e14d43b3234a1f3bb01312a013d8 | |
parent | d7b140487829ec81bd55774d22be6c8eba9073c0 (diff) | |
download | libvpx-1a0047994f34dde83fb45349618de0f34827c8d6.tar libvpx-1a0047994f34dde83fb45349618de0f34827c8d6.tar.gz libvpx-1a0047994f34dde83fb45349618de0f34827c8d6.tar.bz2 libvpx-1a0047994f34dde83fb45349618de0f34827c8d6.zip |
iosbuild.sh: portable sed usage
There is no convenient way to have both gnu and bsd
sed do in-place processing.
Change-Id: I95f2a378d5c1bd95debb446317cc18ad79835e49
-rwxr-xr-x | build/make/iosbuild.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build/make/iosbuild.sh b/build/make/iosbuild.sh index 365a8c013..e102442bd 100755 --- a/build/make/iosbuild.sh +++ b/build/make/iosbuild.sh @@ -132,7 +132,8 @@ create_vpx_framework_config_shim() { done # Consume the last line of output from the loop: We don't want it. - sed -i '' -e '$d' "${config_file}" + sed -i.bak -e '$d' "${config_file}" + rm "${config_file}.bak" printf "#endif\n\n" >> "${config_file}" printf "#endif // ${include_guard}" >> "${config_file}" |