summaryrefslogtreecommitdiffstats
path: root/source/l/unicode-ucd/fetch-sources.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/unicode-ucd/fetch-sources.sh')
-rwxr-xr-xsource/l/unicode-ucd/fetch-sources.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/l/unicode-ucd/fetch-sources.sh b/source/l/unicode-ucd/fetch-sources.sh
new file mode 100755
index 000000000..c02a4ad07
--- /dev/null
+++ b/source/l/unicode-ucd/fetch-sources.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+
+VERSION=${VERSION:-15.1.0}
+
+rm -f UCD*.zip Unihan*.zip license.txt
+lftpget https://www.unicode.org/Public/zipped/$VERSION/UCD.zip
+lftpget https://www.unicode.org/Public/zipped/$VERSION/Unihan.zip
+lftpget https://www.unicode.org/license.txt
+
+mv UCD.zip UCD-${VERSION}.zip
+mv Unihan.zip Unihan-${VERSION}.zip