texlive[45730] Master/texmf-dist/scripts/texlive/tlmgr.pl: fix

commits+preining at tug.org commits+preining at tug.org
Thu Nov 9 07:27:11 CET 2017


Revision: 45730
          http://tug.org/svn/texlive?view=revision&revision=45730
Author:   preining
Date:     2017-11-09 07:27:10 +0100 (Thu, 09 Nov 2017)
Log Message:
-----------
fix wrongly reused reference to json backup object

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2017-11-09 05:49:21 UTC (rev 45729)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2017-11-09 06:27:10 UTC (rev 45730)
@@ -1823,10 +1823,10 @@
     my $mode = shift;
     my %revs = @_;
     my @rs = sort {$b <=> $a} (keys %revs);
-    my %jsonkeys;
-    $jsonkeys{'name'} = $p;
     my @outarr;
     for my $rs (@rs) {
+      my %jsonkeys;
+      $jsonkeys{'name'} = $p;
       my $dstr;
       if ($revs{$rs} == -1) {
         $dstr = "unknown";



More information about the tex-live-commits mailing list