setup/SOURCES/setup-2.12.2-set-lang-as-env-var.patch

14 lines
295 B
Diff
Raw Permalink Normal View History

2023-05-16 06:15:18 +00:00
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