texlive[47842] Master/tlpkg/TeXLive/TLUtils.pm: once more, it is

commits+preining at tug.org commits+preining at tug.org
Sat May 26 03:17:05 CEST 2018


Revision: 47842
          http://tug.org/svn/texlive?view=revision&revision=47842
Author:   preining
Date:     2018-05-26 03:17:05 +0200 (Sat, 26 May 2018)
Log Message:
-----------
once more, it is $::progs nor $::prog, the danger of global vars

Modified Paths:
--------------
    trunk/Master/tlpkg/TeXLive/TLUtils.pm

Modified: trunk/Master/tlpkg/TeXLive/TLUtils.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLUtils.pm	2018-05-26 00:23:28 UTC (rev 47841)
+++ trunk/Master/tlpkg/TeXLive/TLUtils.pm	2018-05-26 01:17:05 UTC (rev 47842)
@@ -2367,7 +2367,7 @@
       # also set up $::{'compressor'} if not already done
       # this selects the first one
       # but we might reset this depending on TEXLIVE_COMPRESSOR setting, see below
-      defined($::prog{'compressor'}) || ($::prog{'compressor'} = $comptype);
+      defined($::progs{'compressor'}) || ($::progs{'compressor'} = $comptype);
     }
   }
   $::progs{'working_compressors'} = [ @working_compressors ];



More information about the tex-live-commits mailing list