git: fc8b021e7aaa - main - share: i18n: fix mismatch in BIG5 esdb generation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Nov 2022 04:10:27 UTC
The branch main has been updated by kevans:
URL: https://cgit.FreeBSD.org/src/commit/?id=fc8b021e7aaa79cb4eb40bd01fe00121197f259d
commit fc8b021e7aaa79cb4eb40bd01fe00121197f259d
Author: Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2022-11-16 04:07:28 +0000
Commit: Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2022-11-16 04:09:22 +0000
share: i18n: fix mismatch in BIG5 esdb generation
In the first loop, we setup Big5_$i_variable where $i are elements of
$PART with : replaced to @. Do the same in the second loop when we're
trying to refer to the same variable.
No functional change, because none of the in-tree mappings have an @
in them.
Sponsored by: Klara, Inc.
---
share/i18n/esdb/BIG5/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/share/i18n/esdb/BIG5/Makefile b/share/i18n/esdb/BIG5/Makefile
index f7b1512893f4..ac95f60e99e7 100644
--- a/share/i18n/esdb/BIG5/Makefile
+++ b/share/i18n/esdb/BIG5/Makefile
@@ -16,7 +16,7 @@ Big5_$i_variable!= sed \
# XXX: FIXME
Big5-${i:S/:/@/}.src: Big5.src Big5.variable
sed -e 's/encoding/Big5-$i/' \
- -e 's/variable/${Big5_$i_variable}/' \
+ -e 's/variable/${Big5_${i:S/@/:/}_variable}/' \
${.CURDIR}/Big5.src > $@
@echo ${.TARGET} >>.tmpfiles
.endfor