diff options
author | Karl Berry <karl@freefriends.org> | 2009-10-06 00:23:51 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-10-06 00:23:51 +0000 |
commit | ba17b2ea7260e7c0f859347a24ddc83f0e5e697f (patch) | |
tree | ead00cccf337348096a7bc85c5233b1bee673177 /Master/tlpkg/TeXLive/TeXCatalogue.pm | |
parent | 00a724a948c9a799534430982a732a5b27ccacba (diff) |
TeXCatalogue: less debugging
TLPSRC, TLPOBJ: set format_lines_per_page on the right file handle
tl-update-tlpdb: rename a couple options, mess with doc
tl-update-bindir: cygwin location
git-svn-id: svn://tug.org/texlive/trunk@15651 c570f23f-e606-0410-a88d-b1316a301751
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 $_: $!"; |