From: Johann Date: Fri, 4 May 2012 23:12:22 +0000 (-0700) Subject: Be explicit about 'in-place' X-Git-Tag: v1.2.0~198^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f3d7ecc6644ad91e6dee6d67f64237784042dba;p=libvpx Be explicit about 'in-place' On darwin, sed expects an argument for '-i'. Make it empty. Change-Id: I5dc6cdf667a754b2624f1767eb6e8025df48e308 --- diff --git a/tools/ftfy.sh b/tools/ftfy.sh index 95fd39777..c5cfdea54 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' "$@" }