summaryrefslogtreecommitdiff
path: root/src/make_unicode_fold.sh
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2023-11-20 20:27:13 +0100
committerJörg Frings-Fürst <debian@jff.email>2023-11-20 20:27:13 +0100
commitacb44b8740ce860a4905a47f84520f132c6f76ac (patch)
tree4cc2df0d5849dc8ec395282157528a35e2b1829c /src/make_unicode_fold.sh
parentc9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff)
parente81090b75cd330ee5201f56e40d9424a1fc31a6a (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/make_unicode_fold.sh')
-rwxr-xr-xsrc/make_unicode_fold.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/make_unicode_fold.sh b/src/make_unicode_fold.sh
index 1d5cc1e..625b3df 100755
--- a/src/make_unicode_fold.sh
+++ b/src/make_unicode_fold.sh
@@ -9,19 +9,19 @@ TMP3=gperf3.tmp
GPERF_OPT='-n -C -T -c -t -j1 -L ANSI-C '
-./make_unicode_fold_data.py > unicode_fold_data.c
+python3 make_unicode_fold_data.py > unicode_fold_data.c
${GPERF} ${GPERF_OPT} -F,-1,0 -N onigenc_unicode_unfold_key unicode_unfold_key.gperf > ${TMP0}
-./gperf_unfold_key_conv.py < ${TMP0} > unicode_unfold_key.c
+python3 gperf_unfold_key_conv.py < ${TMP0} > unicode_unfold_key.c
${GPERF} ${GPERF_OPT} -F,-1 -N onigenc_unicode_fold1_key unicode_fold1_key.gperf > ${TMP1}
-./gperf_fold_key_conv.py 1 < ${TMP1} > unicode_fold1_key.c
+python3 gperf_fold_key_conv.py 1 < ${TMP1} > unicode_fold1_key.c
${GPERF} ${GPERF_OPT} -F,-1 -N onigenc_unicode_fold2_key unicode_fold2_key.gperf > ${TMP2}
-./gperf_fold_key_conv.py 2 < ${TMP2} > unicode_fold2_key.c
+python3 gperf_fold_key_conv.py 2 < ${TMP2} > unicode_fold2_key.c
${GPERF} ${GPERF_OPT} -F,-1 -N onigenc_unicode_fold3_key unicode_fold3_key.gperf > ${TMP3}
-./gperf_fold_key_conv.py 3 < ${TMP3} > unicode_fold3_key.c
+python3 gperf_fold_key_conv.py 3 < ${TMP3} > unicode_fold3_key.c
# remove redundant EOLs before EOF
perl -i -pe 'BEGIN{undef $/}s/\n\n*\z/\n/;' unicode_fold_data.c