diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-12 08:49:53 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-12 08:49:53 +0100 |
| commit | 798cc7939933720bfa580e07d5cde2446e9ca681 (patch) | |
| tree | e20933a5a80ba0c6af3e36eeb07395e7d88b80fe /mk | |
| parent | 6a2e9a7919d6fa5d1d0c5d8617c9d9aeab5f2301 (diff) | |
mk: export locales much earlier
also simplify the way it works (eval and awk)
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'mk')
| -rwxr-xr-x | mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ set -u -e +eval "`printf "%s\n" "LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE \ + LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE \ + LC_MEASUREMENT LC_IDENTIFICATION LC_ALL" | \ + awk '{ for (i=1; i<=NF; i++) $i = "export " $i "=C.UTF-8;"; print }'`" + ( xbarg0="$0" [ "${xbarg0##*/}" = "$xbarg0" ] && \ |
