From: IWATSUKI Hiroyuki Date: Sun, 13 Mar 2011 21:37:54 +0000 (-0700) Subject: inline.sh: BSD / OS X fixes X-Git-Tag: release-120715~449^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bdae8293c6845df02d0ffd4585aa35b919e59811;p=platform%2Fupstream%2Fninja.git inline.sh: BSD / OS X fixes --- diff --git a/src/inline.sh b/src/inline.sh index 5ea082d..8e54c9b 100755 --- a/src/inline.sh +++ b/src/inline.sh @@ -20,6 +20,6 @@ varname="$1" echo "const char $varname[] =" -od -t x1 -A n -v | sed -e 's| |\\x|g; s|^|"|; s|$|"|' +od -t x1 -A n -v | sed -e 's| ||g; s|..|\\x|g; s|^|"|; s|$|"|' echo ";"