Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/libvpx/generate_gni.sh

Issue 2767143004: libvpx: use bsd-compatible sed expressions (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/libvpx/lint_config.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libvpx/generate_gni.sh
diff --git a/third_party/libvpx/generate_gni.sh b/third_party/libvpx/generate_gni.sh
index 17a33ff6fe00d6ab034a88bcf51974379b9f9d64..fc53601b53abf5253fc07c8dc753473a96a84101 100755
--- a/third_party/libvpx/generate_gni.sh
+++ b/third_party/libvpx/generate_gni.sh
@@ -271,7 +271,7 @@ function gen_config_files {
# Disable HAVE_UNISTD_H as it causes vp8 to try to detect how many cpus
# available, which doesn't work from inside a sandbox on linux.
- sed -i.bak -e 's/\(HAVE_UNISTD_H\s\+\)1/\10/' vpx_config.h
+ sed -i.bak -e 's/\(HAVE_UNISTD_H[[:space:]]*\)1/\10/' vpx_config.h
rm vpx_config.h.bak
# Use the correct ads2gas script.
« no previous file with comments | « no previous file | third_party/libvpx/lint_config.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698