[M120 Migration][VD] Remove accessing oom_score_adj in zygote process
[platform/framework/web/chromium-efl.git] / third_party / cldr / update.sh
1 #!/bin/bash
2
3 # Copyright 2021 The Chromium Authors
4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file.
6
7 # Run this script to fetch the latest CLDR files from unicode.org.
8
9 # WARNING: This will remove all existing files in //third_party/cldr/src.
10
11 # Currently only fetches files needed for emoji keywords in English.
12 # If needed, update the unzip line as appropriate.
13
14 # CLDR release to checkout. See http://cldr.unicode.org/index/downloads
15 CLDR_URL='http://unicode.org/Public/cldr/40/cldr-common-40.0.zip'
16 # To update the CLDR files, change this URL and also update the Version
17 # field in README.chromium. Then run this script and commit the changes.
18
19 # Set working directory and terminate on error.
20 set -e
21 cd "$(dirname "$0")"
22
23 # Download release zip.
24 curl "$CLDR_URL" -o cldr.zip
25
26 # Remove existing src directory.
27 rm -rf src
28
29 # Unzip relevant files into src directory and clean zip.
30 unzip -d src -o cldr.zip common/annotations{Derived,}/{en,en_001}.xml
31 rm -v cldr.zip