projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b756ad7
)
Simplified js2h.sh file a little (#76).
author
Daniel Carl
<danielcarl@gmx.de>
Sat, 3 May 2014 17:33:46 +0000
(19:33 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Sat, 3 May 2014 17:33:46 +0000
(19:33 +0200)
Removed last echo line and use sed to append the '"' to the string to fix
compile error on FreeBSD.
src/js2h.sh
patch
|
blob
|
history
diff --git
a/src/js2h.sh
b/src/js2h.sh
index
be92ac4
..
b6d3bf2
100755
(executable)
--- a/
src/js2h.sh
+++ b/
src/js2h.sh
@@
-9,5
+9,5
@@
cat $1 | \
-e 's|"+"||g' \
-e 's|\\x20| |g' \
-e 's|\\|\\\\|g' \
- -e 's|"|\\"|g'
-
echo '"
'
+ -e 's|"|\\"|g'
\
+
-e '$s/$/"/
'