Skip to content

Commit 76bf586

Browse files
committed
Remove uses of sed
As noted in the comment, this was fixed [1] and released in LuaTex 1.16. [1]: https://gitlab.lisn.upsaclay.fr/texlive/luatex/-/commit/af5faf1af25dc00f02356eb0e99bfe26b8de2f61
1 parent 866cad5 commit 76bf586

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

build_docs.py

-15
Original file line numberDiff line numberDiff line change
@@ -646,21 +646,6 @@ def build(self):
646646
"-D gettext_compact=0",
647647
"-D translation_progress_classes=1",
648648
))
649-
if self.language.tag == "ja":
650-
# Since luatex doesn't support \ufffd, replace \ufffd with '?'.
651-
# https://gist.github.com/zr-tex8r/e0931df922f38fbb67634f05dfdaf66b
652-
# Luatex already fixed this issue, so we can remove this once Texlive
653-
# is updated.
654-
# (https://github.com/TeX-Live/luatex/commit/af5faf1)
655-
subprocess.check_output(
656-
"sed -i s/\N{REPLACEMENT CHARACTER}/?/g "
657-
f"{locale_dirs}/ja/LC_MESSAGES/**/*.po",
658-
shell=True,
659-
)
660-
subprocess.check_output(
661-
f"sed -i s/\N{REPLACEMENT CHARACTER}/?/g {self.checkout}/Doc/**/*.rst",
662-
shell=True,
663-
)
664649

665650
if self.version.status == "EOL":
666651
sphinxopts.append("-D html_context.outdated=1")

0 commit comments

Comments
 (0)