aboutsummaryrefslogtreecommitdiffstats
path: root/i18n/update-closure.sh
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/update-closure.sh')
-rwxr-xr-xi18n/update-closure.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/i18n/update-closure.sh b/i18n/update-closure.sh
index 80337f13..2ddf8892 100755
--- a/i18n/update-closure.sh
+++ b/i18n/update-closure.sh
@@ -1,9 +1,14 @@
#!/bin/bash
+set -e # Exit on error.
+
BASE_DIR=`dirname $0`
cd $BASE_DIR
+set -x # Trace commands as they're executed.
+
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/currency.js > closure/currencySymbols.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/datetimesymbols.js > closure/datetimeSymbols.js
+curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/datetimesymbolsext.js > closure/datetimeSymbolsExt.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/numberformatsymbols.js > closure/numberSymbols.js
curl http://closure-library.googlecode.com/svn/trunk/closure/goog/i18n/pluralrules.js > closure/pluralRules.js