projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
343c526
)
inline.sh: BSD / OS X fixes
author
IWATSUKI Hiroyuki
<don@na.rim.or.jp>
Sun, 13 Mar 2011 21:37:54 +0000
(14:37 -0700)
committer
Evan Martin
<martine@danga.com>
Sun, 13 Mar 2011 21:37:54 +0000
(14:37 -0700)
src/inline.sh
patch
|
blob
|
history
diff --git
a/src/inline.sh
b/src/inline.sh
index 5ea082d1dcf313ac16f208cd6f5b0a5fe0d79808..8e54c9bbb743cce19670de7427bc4bcee6a0c456 100755
(executable)
--- 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 ";"