diff options
author | Fredrik Roubert <roubert@google.com> | 2018-05-07 13:50:38 +0200 |
---|---|---|
committer | Fredrik Roubert <roubert@google.com> | 2018-05-09 12:16:14 +0200 |
commit | 333a3d868716b770fa7dbada1f70e6cc2edaaa2c (patch) | |
tree | 38320dc4aada964ecf2fa2d16813b9db8cabab2f /tools/scripts/fixSVNProps.sh | |
parent | 6ccd41d8c8152bf1fcb39b3e98ec5fbc096b911c (diff) | |
download | android_external_cldr-333a3d868716b770fa7dbada1f70e6cc2edaaa2c.tar.gz android_external_cldr-333a3d868716b770fa7dbada1f70e6cc2edaaa2c.tar.bz2 android_external_cldr-333a3d868716b770fa7dbada1f70e6cc2edaaa2c.zip |
Copy CLDR 32.0.1 from unicode.org to aosp/cldr-release-32-0-1.
These files were exported from the CLDR Subversion repository by running
the following commands:
svn export --force https://unicode.org/repos/cldr/tags/release-32-0-1 .
git clean -dfX
git add -A .
Bug: 79438058
Change-Id: I0b4a10f3a3f49b52ffe4bdb3c60cb1cc65de8cc1
Diffstat (limited to 'tools/scripts/fixSVNProps.sh')
-rwxr-xr-x | tools/scripts/fixSVNProps.sh | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/tools/scripts/fixSVNProps.sh b/tools/scripts/fixSVNProps.sh new file mode 100755 index 0000000..26ecc9a --- /dev/null +++ b/tools/scripts/fixSVNProps.sh @@ -0,0 +1,43 @@ +#!/bin/sh +# Copyright (C) 2013-2015, International Business Machines Corporation +# and others. All Rights Reserved. +# + +if [ "x${CLDR_DIR}" = "x" ]; +then + echo "You must set the CLDR_DIR environment variable" + exit 1 +fi + +cd ${CLDR_DIR} +find common exemplars keyboards seed specs tools/java tools/cldr-unittest -type f -print | while read filename +do + echo "Processing... ${filename}" + ext=`echo ${filename} | cut -f2 -d'.'` + if [ "x${ext}" = "xxml" ]; + then + svn propset -q svn:eol-style native ${filename} + svn propset -q svn:keywords "Author Id Revision" ${filename} + svn propset -q svn:mime-type text/xml ${filename} + fi + if [ "x${ext}" = "xjava" ]; + then + svn propset -q svn:eol-style native ${filename} + svn propset -q svn:mime-type "text/plain;charset=utf-8" ${filename} + fi + if [ "x${ext}" = "xtxt" ]; + then + svn propset -q svn:eol-style native ${filename} + svn propset -q svn:mime-type "text/plain" ${filename} + fi + if [ "x${ext}" = "xcss" ]; + then + svn propset -q svn:eol-style native ${filename} + svn propset -q svn:mime-type "text/css" ${filename} + fi + if [ "x${ext}" = "xhtml" ]; + then + svn propset -q svn:eol-style native ${filename} + svn propset -q svn:mime-type "text/html" ${filename} + fi +done |