summaryrefslogtreecommitdiff
path: root/src/make_unicode_property.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_property.sh
parentc9281d179754ffffe24ba9a718d2c4f2e1b4bd5e (diff)
parente81090b75cd330ee5201f56e40d9424a1fc31a6a (diff)
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/make_unicode_property.sh')
-rwxr-xr-xsrc/make_unicode_property.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make_unicode_property.sh b/src/make_unicode_property.sh
index 1b299a5..d36484a 100755
--- a/src/make_unicode_property.sh
+++ b/src/make_unicode_property.sh
@@ -13,8 +13,8 @@ POOL_CAST='s/\(int *\)\(size_t *\)&\(\(struct +unicode_prop_name_pool_t *\* *\)
ADD_STATIC='s/(const +struct +PoolPropertyNameCtype +\*)/static \1/'
ADD_CAST='s/unsigned +int +hval *= *len/unsigned int hval = (unsigned int )len/'
-./make_unicode_property_data.py > ${NAME}.gperf
-./make_unicode_property_data.py -posix > ${NAME}_posix.gperf
+python3 make_unicode_property_data.py > ${NAME}.gperf
+python3 make_unicode_property_data.py -posix > ${NAME}_posix.gperf
${GPERF} ${GPERF_OPT} -N unicode_lookup_property_name --output-file ${TMP1} ${NAME}.gperf
cat ${TMP1} | ${SED} -e 's/^#line.*$//g' | ${SED} -E "${POOL_CAST}" | ${SED} -E "${ADD_STATIC}" | ${SED} -E "${ADD_CAST}" > ${NAME}.c