texlive[48544] Master/tlpkg/installer/install-tl-gui.tcl: Mac OS:

commits+siepo at tug.org commits+siepo at tug.org
Sun Sep 2 18:19:28 CEST 2018


Revision: 48544
          http://tug.org/svn/texlive?view=revision&revision=48544
Author:   siepo
Date:     2018-09-02 18:19:27 +0200 (Sun, 02 Sep 2018)
Log Message:
-----------
Mac OS: avoid warnings 'tar: Failed to set default locale'

Modified Paths:
--------------
    trunk/Master/tlpkg/installer/install-tl-gui.tcl

Modified: trunk/Master/tlpkg/installer/install-tl-gui.tcl
===================================================================
--- trunk/Master/tlpkg/installer/install-tl-gui.tcl	2018-09-02 09:01:55 UTC (rev 48543)
+++ trunk/Master/tlpkg/installer/install-tl-gui.tcl	2018-09-02 16:19:27 UTC (rev 48544)
@@ -126,6 +126,10 @@
 namespace import msgcat::mc
 ::msgcat::mcload [file join $::instroot "tlpkg" "translations"]
 
+if {$::tcl_platform(os) eq "Darwin"} {
+  # avoid warnings 'tar: Failed to set default locale'
+  set ::env(LC_ALL) "en_US.UTF-8"
+}
 proc __ {s args} {return [::msgcat::mc $s {*}$args]}
 
 set ::perlbin "perl"
@@ -729,7 +733,7 @@
       -in .tltd.fr1 -row $rw -column 4
   # corresponding buttons
   incr rw
-  pgrid [ttk::button .tltd.prefix_b -text [__ "Change"] \
+  pgrid [ttk::button .tltd.prefix_b -text [__ "Browse..."] \
           -command {if [dirbrowser2widget .tltd.prefix_l] update_full_path}] \
       -in .tltd.fr1 -row $rw -column 0
   pgrid [ttk::button .tltd.name_b -text [__ "Change"] -command edit_name] \



More information about the tex-live-commits mailing list