git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6344821
)
Fix Makefile to use plain sed agin. Remove unicode trickery. Thanks to danheberden...
author
Anton M
<obhvsbypqghgc@gmail.com>
Wed, 26 Jan 2011 21:50:15 +0000
(22:50 +0100)
committer
Anton M
<obhvsbypqghgc@gmail.com>
Wed, 26 Jan 2011 21:50:15 +0000
(22:50 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
4dcc9e3
..
48a885d
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-106,8
+106,7
@@
${JQ_MIN}: jquery
@@if test ! -z ${JS_ENGINE}; then \
echo "Minifying jQuery" ${JQ_MIN}; \
${COMPILER} ${JQ} > ${JQ_MIN}.tmp; \
- echo ";" >> ${JQ_MIN}.tmp; \
- sed 's/\*\/(/*\/ʩ(/' ${JQ_MIN}.tmp | tr "ʩ" "\n" > ${JQ_MIN}; \
+ sed '$ s#^\( \*/\)\(.\+\)#\1\n\2;#' ${JQ_MIN}.tmp > ${JQ_MIN}; \
rm -rf ${JQ_MIN}.tmp; \
else \
echo "You must have NodeJS installed in order to minify jQuery."; \