From: Adam Heath Date: Mon, 8 Oct 2001 00:40:15 +0000 (+0000) Subject: We weren't adding '\n' when printing out the reformated info text. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3655f4887c6b066635b129fa8569d647ac5754a1;p=dpkg We weren't adding '\n' when printing out the reformated info text. --- diff --git a/ChangeLog b/ChangeLog index 52ff7026..7df17cd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +Sun Oct 7 19:38:56 CDT 2001 Adam Heath + + * scripts/install-info.pl: oops. We weren't adding '\n' when printing + out the reformated info text. + +Sun Oct 7 05:00:02 CDT 2001 Adam Heath + + * scripts/install-info.pl: Don't print out the info entry every time we + are called. + Sun Oct 7 03:12:35 CDT 2001 Adam Heath * debian/control: Several fixes: diff --git a/scripts/install-info.pl b/scripts/install-info.pl index f2409806..15de79c9 100755 --- a/scripts/install-info.pl +++ b/scripts/install-info.pl @@ -400,11 +400,10 @@ foreach ( @work ) { push @newwork, $_; } } -@work = @newwork; if (!$nowrite) { open(NEW,"> $infodir/dir.new") || &ulquit("create $infodir/dir.new: $!"); - print(NEW @head,@work) || &ulquit("write $infodir/dir.new: $!"); + print(NEW @head,join("\n",@newwork)) || &ulquit("write $infodir/dir.new: $!"); close(NEW) || &ulquit("close $infodir/dir.new: $!"); unlink("$infodir/dir.old");