setup/SOURCES/setup-2.12.2-set-lang-as-env-var.patch
2023-05-17 03:08:51 +00:00

14 lines
295 B
Diff

diff --git a/lang.csh b/lang.csh
index 94c4625..4e5f014 100644
--- a/lang.csh
+++ b/lang.csh
@@ -13,7 +13,7 @@ foreach config (/etc/locale.conf "${HOME}/.i18n")
end
if (${?LANG_backup}) then
- set LANG="${LANG_backup}"
+ setenv LANG "${LANG_backup}"
endif
unset LANG_backup config