mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Fix Makefile to use plain sed agin. Remove unicode trickery. Thanks to danheberden and gnarf for figuring out why it previously faild on Mac OS X.
This commit is contained in:
parent
6344821f1b
commit
ba43d37394
3
Makefile
3
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."; \
|
||||
|
Loading…
Reference in New Issue
Block a user