[pkg-java] r5448 - in trunk/gjdoc/debian: . scripts

mkoch at alioth.debian.org mkoch at alioth.debian.org
Mon Jan 14 19:51:35 UTC 2008


Author: mkoch
Date: 2008-01-14 19:51:35 +0000 (Mon, 14 Jan 2008)
New Revision: 5448

Modified:
   trunk/gjdoc/debian/changelog
   trunk/gjdoc/debian/scripts/dh_javadoc
Log:
gjdoc (0.7.8-7) unstable; urgency=low

  * debian/scripts/dh_javadoc: Strip lines of read input.
    Thanks to Matthew Johnson for the patch. Closes: #460605.

 -- Michael Koch <konqueror at gmx.de>  Mon, 14 Jan 2008 20:59:41 +0100



Modified: trunk/gjdoc/debian/changelog
===================================================================
--- trunk/gjdoc/debian/changelog	2008-01-14 19:29:34 UTC (rev 5447)
+++ trunk/gjdoc/debian/changelog	2008-01-14 19:51:35 UTC (rev 5448)
@@ -1,3 +1,10 @@
+gjdoc (0.7.8-7) unstable; urgency=low
+
+  * debian/scripts/dh_javadoc: Strip lines of read input.
+    Thanks to Matthew Johnson for the patch. Closes: #460605.
+
+ -- Michael Koch <konqueror at gmx.de>  Mon, 14 Jan 2008 20:59:41 +0100
+
 gjdoc (0.7.8-6) unstable; urgency=low
 
   * Build-depend on sharutils for configure test.

Modified: trunk/gjdoc/debian/scripts/dh_javadoc
===================================================================
--- trunk/gjdoc/debian/scripts/dh_javadoc	2008-01-14 19:29:34 UTC (rev 5447)
+++ trunk/gjdoc/debian/scripts/dh_javadoc	2008-01-14 19:51:35 UTC (rev 5448)
@@ -98,8 +98,10 @@
 
 	if (-e "debian/$package.javadoc"){
 		open PACKAGES, "debian/$package.javadoc"
-			or error("Unable to open file: debian/$package.javadocL: $!");
-		my @pkgs = <PACKAGES>;
+			or error("Unable to open file: debian/$package.javadoc: $!");
+		my @pkgs;
+		my $i = 0;
+		while(<PACKAGES>){chomp($pkgs[$i++]=$_);}
 		close PACKAGES or warning("Error closing debian/$package.javadoc: $!");
 		@packages = (@packages, @pkgs);
 	}




More information about the pkg-java-commits mailing list