From 8aa2b78cff5e68a6c0decce073ab0c44919cfc27 Mon Sep 17 00:00:00 2001 From: Lu Wang Date: Thu, 24 Oct 2013 01:54:40 +0800 Subject: [PATCH] .. --- share/js_src/compile.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/share/js_src/compile.sh b/share/js_src/compile.sh index 553c726..9d847e8 100755 --- a/share/js_src/compile.sh +++ b/share/js_src/compile.sh @@ -11,9 +11,10 @@ CLOSURE_COMPILER_DIR="$BASEDIR/../../3rdparty/closure-compiler" CLOSURE_COMPILER_JAR="$CLOSURE_COMPILER_DIR/compiler.jar" EXTERNS="$CLOSURE_COMPILER_DIR/jquery-1.9.js" INPUT="$BASEDIR/pdf2htmlEX.js" -OUTPUT="$BASEDIR/../pdf2htmlEX.min.js" +OUTPUT_FN="pdf2htmlEX.min.js" +OUTPUT="$BASEDIR/../$OUTPUT_FN" -(echo 'Building pdf2htmlEX.js with closure-compiler...' && \ +(echo "Building $OUTPUT_FN with closure-compiler..." && \ java -jar "$CLOSURE_COMPILER_JAR" \ --compilation_level ADVANCED_OPTIMIZATIONS \ --warning_level VERBOSE \