tags 625945 patch


i have attached a small patch which sets the $AUTHOR variable to a
default value if it is empty and also adds the missing "is" in Abstract.



From: Markus Koschany <a...@gambaru.de>
Date: Thu, 14 Mar 2013 17:17:49 +0100
Subject: jh_installjavadoc default author

 jh_installjavadoc |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/jh_installjavadoc b/jh_installjavadoc
index 52ebf6b..be848be 100755
--- a/jh_installjavadoc
+++ b/jh_installjavadoc
@@ -35,6 +35,9 @@ function installjavadoc()
+	if [ -z "$AUTHOR" ]; then
+		AUTHOR="The authors of $package"
+	fi
 	if [ -z "$src" ]; then
 		echo "Error: trying to install from empty source"
 		exit 1
@@ -65,7 +68,7 @@ function installjavadoc()
 Document: $package
 Title: API JavaDoc for $package
 Author: $AUTHOR
-Abstract: This the API JavaDoc for $package
+Abstract: This is the API JavaDoc for $package
 Section: Programming/Java
 Format: HTML

Attachment: signature.asc
Description: OpenPGP digital signature

This is the maintainer address of Debian's Java team
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to