diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TeXCatalogue.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TeXCatalogue.pm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/tlpkg/TeXLive/TeXCatalogue.pm b/Master/tlpkg/TeXLive/TeXCatalogue.pm index 10ca161ff83..8ff06b08040 100644 --- a/Master/tlpkg/TeXLive/TeXCatalogue.pm +++ b/Master/tlpkg/TeXLive/TeXCatalogue.pm @@ -88,7 +88,8 @@ sub initialize { } } -sub beautify{ +sub beautify +{ my ($txt) = @_; $txt =~ s/\n/ /g; $txt =~ s/^[[:space:]]*//g; @@ -181,7 +182,8 @@ sub initialize { # the catalogue.dtd is searched in a/catalogue.dtd etc, see above my $cwd = `pwd`; chomp($cwd); - chdir($self->{'location'} . "/entries") || die ("Cannot chdir to TeX Catalogue entries: $!"); + chdir($self->{'location'} . "/entries") + || die "chdir($self->{location}/entries failed: $!"; # parse all the files foreach (glob("?/*.xml")) { open(my $io,"<$_") or die "Cannot read $_: $!"; |