texlive[61253] Master/tlpkg/TeXLive/TLConfFile.pm: terser warning

commits+karl at tug.org commits+karl at tug.org
Wed Dec 8 23:35:23 CET 2021


Revision: 61253
          http://tug.org/svn/texlive?view=revision&revision=61253
Author:   karl
Date:     2021-12-08 23:35:23 +0100 (Wed, 08 Dec 2021)
Log Message:
-----------
terser warning msg, with $0

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

Modified: trunk/Master/tlpkg/TeXLive/TLConfFile.pm
===================================================================
--- trunk/Master/tlpkg/TeXLive/TLConfFile.pm	2021-12-08 21:28:04 UTC (rev 61252)
+++ trunk/Master/tlpkg/TeXLive/TLConfFile.pm	2021-12-08 22:35:23 UTC (rev 61253)
@@ -473,11 +473,10 @@
     # if we are still here, that means we cannot evaluate the config file
     # give a BIG FAT WARNING but save the line as comment and continue 
     # anyway
-    warn("WARNING WARNING WARNING\n");
-    warn("Cannot parse config file $file ($cc, $sep)\n");
-    warn("The following line (l.$l) seems to be wrong:\n");
+    my $userlineno = $l + 1; # one-based
+    warn("$0: WARNING: Cannot parse tlmgr config file ($cc, $sep)\n");
+    warn("$0: $file:$userlineno: treating this line as comment:\n");
     warn(">>> $data[$l]\n");
-    warn("We will treat this line as a comment!\n");
     $config{$l}{'type'} = 'comment';
     $config{$l}{'value'} = $data[$l];
   }



More information about the tex-live-commits mailing list.