From e7a121e4fb8110cdb0ff4884a556cdfaf906b920 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 21 Jan 2022 00:05:30 -0300 Subject: Partially undo 7bb30b4d8ec7fdb24b23b02f04897d9b0480056f Pandoc doesn't handle files with diacritics properly, as can be seen in: $ git notes --ref=refs/notes/ci-logs show 014d4b731abab519c50fe4c7dec94ce1291d2716 | grep pandoc pandoc: /tmp/uuid-tmpname.diacritic and spaces.2e6006db-7196-3795-135a-4a4e5a8e7d4d: openBinaryFile: invalid argument (invalid character) I'll stick with spaces only, and when I eventually replace Pandoc with something smaller and simpler (as seen in #td-e8d9a644-ead4-af05-8582-eef22af90633), I'll return to this issue, and inject diacritics back. --- aux/lib.sh | 2 +- tests/lib.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aux/lib.sh b/aux/lib.sh index 47e4878..ba18f9a 100755 --- a/aux/lib.sh +++ b/aux/lib.sh @@ -13,7 +13,7 @@ uuid() { } tmpname() { - echo "${TMPDIR:-/tmp}/uuid-tmpname.diacritic á and spaces.$(uuid)" + echo "${TMPDIR:-/tmp}/uuid-tmpname with spaces.$(uuid)" } mkstemp() { diff --git a/tests/lib.sh b/tests/lib.sh index 15fe331..750cb68 100755 --- a/tests/lib.sh +++ b/tests/lib.sh @@ -127,7 +127,7 @@ uuid() { } tmpname() { - echo "${TMPDIR:-/tmp}/uuid-tmpname.diacritic á and spaces.$(uuid)" + echo "${TMPDIR:-/tmp}/uuid-tmpname with spaces.$(uuid)" } mkstemp() { -- cgit v1.2.3