summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tltcl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/tlpkg/tltcl')
-rw-r--r--Master/tlpkg/tltcl/tltcl.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/tlpkg/tltcl/tltcl.tcl b/Master/tlpkg/tltcl/tltcl.tcl
index 47dd31bd34f..a4be3ba7b29 100644
--- a/Master/tlpkg/tltcl/tltcl.tcl
+++ b/Master/tlpkg/tltcl/tltcl.tcl
@@ -224,10 +224,10 @@ proc yes_no {b} {
return $ans
}
-if {$::tcl_platform(os) eq "Darwin"} {
- # avoid warnings 'tar: Failed to set default locale'
- set ::env(LC_ALL) "en_US.UTF-8"
-}
+# avoid warnings from tar and perl about locale
+set ::env(LC_ALL) "C"
+unset -nocomplain ::env(LANG)
+unset -nocomplain ::env(LANGUAGE)
### fonts ###