--- jakarta-tomcat-catalina/catalina/src/bin/setclasspath.sh.orig Sun Oct 10 15:23:36 2004 +++ jakarta-tomcat-catalina/catalina/src/bin/setclasspath.sh.orig Sun Oct 10 15:25:49 2004 @@ -10,7 +10,7 @@ echo "This environment variable is needed to run this program" exit 1 fi -if $os400; then +if [ "$os400" = "true" ]; then if [ ! -x "$JAVA_HOME"/bin/java -o ! -x "$JAVA_HOME"/bin/javac ]; then echo "The JAVA_HOME environment variable is not defined correctly" echo "This environment variable is needed to run this program" @@ -55,7 +55,7 @@ # Set standard commands for invoking Java. _RUNJAVA="$JAVA_HOME"/bin/java -if [ $os400 = false ]; then +if [ "$os400" != "true" ]; then _RUNJDB="$JAVA_HOME"/bin/jdb fi _RUNJAVAC="$JAVA_HOME"/bin/javac