From 6f3d7ecc6644ad91e6dee6d67f64237784042dba Mon Sep 17 00:00:00 2001
From: Johann <johannkoenig@google.com>
Date: Fri, 4 May 2012 16:12:22 -0700
Subject: [PATCH] Be explicit about 'in-place'

On darwin, sed expects an argument for '-i'. Make it empty.

Change-Id: I5dc6cdf667a754b2624f1767eb6e8025df48e308
---
 tools/ftfy.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/ftfy.sh b/tools/ftfy.sh
index 95fd397771..c5cfdea54d 100755
--- a/tools/ftfy.sh
+++ b/tools/ftfy.sh
@@ -34,7 +34,7 @@ vpx_style() {
          --align-pointer=name \
          --indent-preprocessor --convert-tabs --indent-labels \
          --suffix=none --quiet "$@"
-  sed -i 's/[[:space:]]\{1,\},/,/g' "$@"
+  sed -i "" 's/[[:space:]]\{1,\},/,/g' "$@"
 }
 
 
-- 
GitLab