texlive[47735] Master/tlpkg/TeXLive/TLPDB.pm: ignore empty arguments

commits+preining at tug.org commits+preining at tug.org
Thu May 17 10:45:58 CEST 2018


Revision: 47735
          http://tug.org/svn/texlive?view=revision&revision=47735
Author:   preining
Date:     2018-05-17 10:45:57 +0200 (Thu, 17 May 2018)
Log Message:
-----------
ignore empty arguments like ''

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

Modified: trunk/Master/tlpkg/TeXLive/TLPDB.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLPDB.pm	2018-05-17 00:24:16 UTC (rev 47734)
+++ trunk/Master/tlpkg/TeXLive/TLPDB.pm	2018-05-17 08:45:57 UTC (rev 47735)
@@ -942,6 +942,7 @@
   my %install = ();
   my @archs = $totlpdb->available_architectures;
   for my $p (@_) {
+    next if ($p =~ m/^\s*$/);
     my ($pp, $aa) = split('@', $p);
     $install{$pp} = (defined($aa) ? $aa : 0);;
   }



More information about the tex-live-commits mailing list