tags 625945 patch
thanks

Hi,

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.

Regards,

Markus

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()
 	src="$2"
 	target="$3"
 
+	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
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to