Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

whitespace in js bash and ver inplace set expression fix

  • Loading branch information...
commit efe3b0bc104be2e719a9b9d35fd1800d9e7e166b 1 parent 3f22eb1
@johnbender johnbender authored
Showing with 11 additions and 11 deletions.
  1. +1 −1  build/bin/config.sh
  2. +10 −10 build/bin/js.sh
View
2  build/bin/config.sh
@@ -4,7 +4,7 @@ HEAD_SHA=$(git log -1 --format=format:"%H")
BUILD_SHA=$(git log -1 --format=format:"Git Build: SHA1: %H <> Date: %cd")
VER_MIN="/*! jQuery Mobile v$BUILD_SHA jquerymobile.com | jquery.org/license !*/"
VER_OFFICIAL=$(cat version.txt)
-SED_VER_REPLACE='s/__version__/"$VER_OFFICIAL"/g'
+SED_VER_REPLACE="s/__version__/\"$VER_OFFICIAL\"/g"
SED_INPLACE_EXT="whyunowork"
function sed_ver_api {
View
20 build/bin/js.sh
@@ -13,14 +13,14 @@ $RUN_JS \
findNestedDependencies=true \
skipModuleInsertion=true \
optimize=none
- cat LICENSE-INFO.txt | ver > $OUTPUT/$NAME.js
- cat $OUTPUT/$NAME.compiled.js | sed_ver_api >> $OUTPUT/$NAME.js
- rm $OUTPUT/$NAME.compiled.js
- echo $VER_MIN > $OUTPUT/$NAME.min.js
- java -XX:ReservedCodeCacheSize=64m \
- -jar build/google-compiler-20111003.jar \
- --js $OUTPUT/$NAME.js \
- --js_output_file $OUTPUT/$NAME.compiled.js
- cat $OUTPUT/$NAME.compiled.js >> $OUTPUT/$NAME.min.js
- rm $OUTPUT/$NAME.compiled.js
+cat LICENSE-INFO.txt | ver > $OUTPUT/$NAME.js
+cat $OUTPUT/$NAME.compiled.js | sed_ver_api >> $OUTPUT/$NAME.js
+rm $OUTPUT/$NAME.compiled.js
+echo $VER_MIN > $OUTPUT/$NAME.min.js
+java -XX:ReservedCodeCacheSize=64m \
+ -jar build/google-compiler-20111003.jar \
+ --js $OUTPUT/$NAME.js \
+ --js_output_file $OUTPUT/$NAME.compiled.js
+cat $OUTPUT/$NAME.compiled.js >> $OUTPUT/$NAME.min.js
+rm $OUTPUT/$NAME.compiled.js
Please sign in to comment.
Something went wrong with that request. Please try again.