From: Anton M <obhvsbypqghgc@gmail.com>
Date: Wed, 26 Jan 2011 21:50:15 +0000 (+0100)
Subject: Fix Makefile to use plain sed agin. Remove unicode trickery. Thanks to danheberden... 
X-Git-Url: http://git.asbjorn.biz/?a=commitdiff_plain;h=ba43d37394b6018779d9a668c548e11579cd424a;p=jquery.git

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.
---

diff --git a/Makefile b/Makefile
index 4dcc9e3..48a885d 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."; \