summaryrefslogtreecommitdiff
path: root/fetch
diff options
context:
space:
mode:
authorromir kulshrestha <romir.kulshrestha@gmail.com> 2026-03-04 21:01:09 +0100
committerromir kulshrestha <romir.kulshrestha@gmail.com> 2026-03-06 12:20:05 +0100
commit6826cf0be1816a8320835ab315d46063dc746aac (patch)
tree7b658f017a1808b1cc6e4bd9d3c4772e24af1bc2 /fetch
parent7da5cb749ee608a9455c2fd157273563279ee51c (diff)
buildscript
Diffstat (limited to 'fetch')
-rwxr-xr-xfetch19
1 files changed, 19 insertions, 0 deletions
diff --git a/fetch b/fetch
new file mode 100755
index 0000000..46c02f9
--- /dev/null
+++ b/fetch
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+set -e
+
+cd "${0%/*}"
+trap 'rm -f UCD.zip' EXIT
+
+set -x
+mkdir -p data
+curl -LO https://www.unicode.org/Public/zipped/latest/UCD.zip
+unzip -od data UCD.zip
+
+# XID_Start and XID_Continue additions
+cat <<-EOF >>data/DerivedCoreProperties.txt
+0024 ; XID_Start # Pc DOLLAR SIGN
+005F ; XID_Start # Pc LOW LINE
+2032..2034 ; XID_Continue # Po [3] PRIME..TRIPLE PRIME
+2057 ; XID_Continue # Po QUADRUPLE PRIME
+EOF