aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton M <obhvsbypqghgc@gmail.com>2011-01-26 22:50:15 +0100
committerAnton M <obhvsbypqghgc@gmail.com>2011-01-26 22:50:15 +0100
commitba43d37394b6018779d9a668c548e11579cd424a (patch)
tree689c026bb878e60722ac54906dd3f892b834b5ba
parent6344821f1bc394115fb3c869ab7b65b75cfc9cc5 (diff)
downloadjquery-ba43d37394b6018779d9a668c548e11579cd424a.tar.gz
jquery-ba43d37394b6018779d9a668c548e11579cd424a.zip
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.
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4dcc9e35e..48a885da2 100644
--- 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."; \