From 138ee10c89c32bfcb318f067bc4cdb671a0e6b1b Mon Sep 17 00:00:00 2001 From: Robert Buels Date: Thu, 14 Jun 2012 13:43:41 -0400 Subject: [PATCH] disable yui-compressor obfuscation, was causing problems --- Makefile.deploy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.deploy b/Makefile.deploy index 287bc8c1e8..967a3e5de9 100644 --- a/Makefile.deploy +++ b/Makefile.deploy @@ -50,7 +50,7 @@ $(JSMIN_TARGET): $(JS_SRCFILES) if ! which yui-compressor >/dev/null; then \ sudo apt-get install yui-compressor; \ fi; \ - cat `perl -nE 'say $$1 if /src="(js\/[^"]+)/' $$HTMLFILE-debug.html` | yui-compressor --type js > $@; \ + cat `perl -nE 'say $$1 if /src="(js\/[^"]+)/' $$HTMLFILE-debug.html` | yui-compressor --type js --preserve-semi --nomunge > $@; \ perl -pe 'BEGIN { undef $$/; }; s#.*# \n#ms' $$HTMLFILE-debug.html > $$HTMLFILE.html; \ fi \ done