projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6ecafa
)
Add space after sed -e option #388.
author
Daniel Carl
<danielcarl@gmx.de>
Mon, 15 May 2017 20:27:28 +0000
(22:27 +0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Mon, 15 May 2017 20:27:28 +0000
(22:27 +0200)
src/scripts/js2h.sh
patch
|
blob
|
history
diff --git
a/src/scripts/js2h.sh
b/src/scripts/js2h.sh
index
81425fc
..
0efeaea
100755
(executable)
--- a/
src/scripts/js2h.sh
+++ b/
src/scripts/js2h.sh
@@
-15,7
+15,7
@@
fi
# Put file extension and _ before file name, turn all to upper case to get the
# constant name.
-CONSTANT=$(echo "$FILE" | sed -e 's:.*/::g' -e
's/.*\.css$/CSS_&/g' -e's/.*\.js$/JS_&/g' -e's/\.css$//' -e
's/\.js$//' | tr a-z A-Z)
+CONSTANT=$(echo "$FILE" | sed -e 's:.*/::g' -e
's/.*\.css$/CSS_&/g' -e 's/.*\.js$/JS_&/g' -e 's/\.css$//' -e
's/\.js$//' | tr a-z A-Z)
# minify the script
cat $FILE | \