Przeglądaj źródła

We weren't adding '\n' when printing out the reformated info text.

Adam Heath 25 lat temu
rodzic
commit
3655f4887c
2 zmienionych plików z 11 dodań i 2 usunięć
  1. 10 0
      ChangeLog
  2. 1 2
      scripts/install-info.pl

+ 10 - 0
ChangeLog

@@ -1,3 +1,13 @@
+Sun Oct  7 19:38:56 CDT 2001 Adam Heath <doogie@debian.org>
+
+  * 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 <doogie@debian.org>
+
+  * 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 <doogie@debian.org>
 
   * debian/control: Several fixes:

+ 1 - 2
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");