diff options
Diffstat (limited to 'Build')
-rwxr-xr-x | Build/source/texk/web2c/ptexdir/wcfname.test | 5 | ||||
-rwxr-xr-x | Build/source/texk/web2c/uptexdir/wcfname.test | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/ptexdir/wcfname.test b/Build/source/texk/web2c/ptexdir/wcfname.test index 71c0dc54454..fe9b369257a 100755 --- a/Build/source/texk/web2c/ptexdir/wcfname.test +++ b/Build/source/texk/web2c/ptexdir/wcfname.test @@ -20,6 +20,11 @@ for loc in C.UTF-8 C.utf8 en_US.UTF-8 en_US.utf8 ja_JP.UTF-8 ja_JP.utf8; do break fi done +if [ $ret = 1 ]; then + # linux musl fails to run `locale -a` but seems to have C.UTF-8 + loc=C.UTF-8 + LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE +fi perl $srcdir/tests/fn-generate.perl || exit 128 mv fn*.tex ptests/ diff --git a/Build/source/texk/web2c/uptexdir/wcfname.test b/Build/source/texk/web2c/uptexdir/wcfname.test index d787926d5af..45abda1bd0d 100755 --- a/Build/source/texk/web2c/uptexdir/wcfname.test +++ b/Build/source/texk/web2c/uptexdir/wcfname.test @@ -20,6 +20,11 @@ for loc in C.UTF-8 C.utf8 en_US.UTF-8 en_US.utf8 ja_JP.UTF-8 ja_JP.utf8; do break fi done +if [ $ret = 1 ]; then + # linux musl fails to run `locale -a` but seems to have C.UTF-8 + loc=C.UTF-8 + LC_ALL=$loc; LANGUAGE=$loc; export LC_ALL LANGUAGE +fi perl $srcdir/tests/fn-generate.perl || exit 128 mv fn*.tex uptests/ |