Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo
authorMakoto Kato <m_kato@ga2.so-net.ne.jp>
Fri, 03 Mar 2017 13:56:24 +0900
changeset 345767 45e867a1c89e99a6e6ee27e87c980ed2de0fe768
parent 345766 94985ca794f129d05880f8cb035430664411dd24
child 345768 c056f26747193eaa164da0034cee71029736d27b
push id31444
push usercbook@mozilla.com
push dateFri, 03 Mar 2017 12:04:20 +0000
treeherdermozilla-central@a793136c90bc [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs1225401
milestone54.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1225401 - Part 1. Remove cities when syncing ICU source code. r=Waldo MozReview-Commit-ID: ilVREadiJc
intl/update-icu.sh
--- a/intl/update-icu.sh
+++ b/intl/update-icu.sh
@@ -42,16 +42,20 @@ find ${icu_dir}/source/data/mappings \
     -name ibm-1047_P100-1995.ucm -prune -or \
     -name '*.ucm' -print | xargs rm
 rm ${icu_dir}/source/data/rbnf/*
 rm ${icu_dir}/source/data/region/*.mk
 rm ${icu_dir}/source/data/region/*.txt
 rm ${icu_dir}/source/data/translit/*
 rm ${icu_dir}/source/data/unit/*.mk
 rm ${icu_dir}/source/data/unit/*.txt
+find ${icu_dir}/source/data/zone \
+    -name root.txt -prune -or \
+    -name tzdbNames.txt -prune -or \
+    -name '*.txt' -print | xargs sed -i '/^\s\{8\}\"[A-Z]/, /^\s\{8\}}/ { d }'
 
 # Record `svn info`, eliding the line that changes every time the entire ICU
 # repository (not just the path within it we care about) receives a commit.
 # (This ensures that if ICU modifications are performed properly, it's always
 # possible to run the command at the top of this script and make no changes to
 # the tree.)
 svn info $1 | grep -v '^Revision: [[:digit:]]\+$' > ${icu_dir}/SVN-INFO