summaryrefslogtreecommitdiff
path: root/Master/tlpkg/TeXLive/TLPSRC.pm
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-10-06 00:23:51 +0000
committerKarl Berry <karl@freefriends.org>2009-10-06 00:23:51 +0000
commitba17b2ea7260e7c0f859347a24ddc83f0e5e697f (patch)
treeead00cccf337348096a7bc85c5233b1bee673177 /Master/tlpkg/TeXLive/TLPSRC.pm
parent00a724a948c9a799534430982a732a5b27ccacba (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/TLPSRC.pm')
-rw-r--r--Master/tlpkg/TeXLive/TLPSRC.pm14
1 files changed, 7 insertions, 7 deletions
diff --git a/Master/tlpkg/TeXLive/TLPSRC.pm b/Master/tlpkg/TeXLive/TLPSRC.pm
index da7d1861f68..622362653cb 100644
--- a/Master/tlpkg/TeXLive/TLPSRC.pm
+++ b/Master/tlpkg/TeXLive/TLPSRC.pm
@@ -183,14 +183,14 @@ sub writeout
my $self = shift;
my $fd = (@_ ? $_[0] : STDOUT);
format_name $fd "multilineformat";
- $= = 99999; # no pages in this format
+ $fd->format_lines_per_page (99999); # no pages in this format
print $fd "name ", $self->name, "\n";
print $fd "category ", $self->category, "\n";
defined($self->{'catalogue'}) && print $fd "catalogue $self->{'catalogue'}\n";
defined($self->{'shortdesc'}) && print $fd "shortdesc $self->{'shortdesc'}\n";
if (defined($self->{'longdesc'})) {
$_tmp = "$self->{'longdesc'}";
- write $fd;
+ write $fd; # use that multilineformat
}
if (defined($self->{'depends'})) {
foreach (@{$self->{'depends'}}) {
@@ -491,18 +491,18 @@ sub find_default_patterns
}
for my $cat (keys %autopatterns) {
- debug ("Category $cat\n");
+ ddebug ("Category $cat\n");
for my $d (@{$autopatterns{$cat}{"bin"}}) {
- debug ("Found auto bin pattern $d\n");
+ ddebug ("auto bin pattern $d\n");
}
for my $d (@{$autopatterns{$cat}{"src"}}) {
- debug ("Found auto src pattern $d\n");
+ ddebug ("auto src pattern $d\n");
}
for my $d (@{$autopatterns{$cat}{"doc"}}) {
- debug ("Found auto doc pattern $d\n");
+ ddebug ("auto doc pattern $d\n");
}
for my $d (@{$autopatterns{$cat}{"run"}}) {
- debug ("Found auto run pattern $d\n");
+ ddebug ("auto run pattern $d\n");
}
}