Debian Codegraph @

maintenance/language/generate-collation-data

raw symbols SCIP
1 #!/bin/bashscip-shell filesystem . . `/bin/bash`. -eu
2
3 clear_tempscip-shell shell shell-project 0.0.0 clear_temp().() {
4 rmscip-shell system . . rm. -f allkeys.txt ucd.all.grouped.zip ucd.all.grouped.xml
5 }
6
7 # Setup
8 clear_tempscip-shell shell shell-project 0.0.0 clear_temp().
9 export MW_INSTALL_PATH="$(cd "$(dirnamescip-shell system . . dirname. "${BASH_SOURCE[0]}")"/../.. && pwdscip-shell system . . pwd.)"
10
11
12 # Generate includes/collation/data/first-letters-root.php
13 wget https://www.unicode.org/Public/UCA/6.0.0/allkeys.txt
14 wget https://www.unicode.org/Public/6.0.0/ucdxml/ucd.all.grouped.zip
15 unzip ucd.all.grouped.zip ucd.all.grouped.xml
16 php "$MW_INSTALL_PATH/maintenance/language/generateCollationData.php"
17
18 # Teardown
19 clear_tempscip-shell shell shell-project 0.0.0 clear_temp().