summaryrefslogtreecommitdiff
path: root/src/make_unicode_property.sh
diff options
context:
space:
mode:
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