From 12a278337b7710ddba374cf41b410d1bdedbdd3e Mon Sep 17 00:00:00 2001 From: "mikesamuel@gmail.com" Date: Mon, 4 Mar 2013 20:16:44 +0000 Subject: [PATCH] fixed bug: wrong version of lang file was being aliased. unminified version instead of minified --- Makefile | 2 +- tools/cut-release.sh | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 338ebb93..8cd07068 100644 --- a/Makefile +++ b/Makefile @@ -83,7 +83,7 @@ distrib.tstamp: src/prettify.js src/run_prettify.js src/*.js src/*.css lang-aliases : lang-aliases.tstamp lang-aliases.tstamp : distrib.tstamp @tools/lang-handler-aliases.sh \ - distrib/sources/google-code-prettify/src \ + distrib/google-code-prettify \ | perl -ne 'system("cp $$1 $$2") if m/^(\S+) (\S+)$$/ && ! -e $$2' \ && touch lang-aliases.tstamp diff --git a/tools/cut-release.sh b/tools/cut-release.sh index 053a9b61..deb4e72d 100755 --- a/tools/cut-release.sh +++ b/tools/cut-release.sh @@ -123,9 +123,8 @@ fi # Make the distribution function build() { pushd "$VERSION_BASE/trunk" > /dev/null - make clean \ - && make distrib distrib/prettify.tar.bz2 distrib/prettify-small.tar.bz2 \ - && make lang-aliases + make distrib distrib/prettify.tar.bz2 distrib/prettify-small.tar.bz2 \ + lang-aliases local status=$? popd > /dev/null (($status))