Bug#309903: bashism in javadoc - fixed upstream
Julian Scheid
Julian Scheid <julian@sektor37.de>, 309903@bugs.debian.org
Sat May 21 23:24:02 2005
This is a multi-part message in MIME format.
--------------080302040506040206010902
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
This is fixed upstream. Aside from bash and posh, the gjdoc start
script is now known to work with tcsh, ksh, pdksh, zsh, and sash.
Thanks for reporting this.
--------------080302040506040206010902
Content-Type: text/x-patch;
name="bug309903.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="bug309903.patch"
Index: gjdoc.sh.in
===================================================================
RCS file: /cvsroot/classpath/gjdoc/gjdoc.sh.in,v
retrieving revision 1.9
diff -u -r1.9 gjdoc.sh.in
--- gjdoc.sh.in 24 Apr 2005 12:56:26 -0000 1.9
+++ gjdoc.sh.in 21 May 2005 22:36:30 -0000
@@ -38,7 +38,7 @@
gjdocpath=${datadir}/java/com-sun-javadoc-${version}.jar:${datadir}/java/com-sun-tools-doclets-Taglet-${version}.jar:${datadir}/java/gnu-classpath-tools-gjdoc-${version}.jar:${ANTLR_JAR}:${CLASSPATH}
for i in ${1+"$@"}; do
- if [[ "`echo "$i" | head -c 2`" == "-J" ]]; then
+ if test "`echo "$i" | head -c 2`" = "-J"; then
len=`expr length "$i"`
vmparams="$vmparams '`expr substr "$i" 3 $len`'"
else
--------------080302040506040206010902--