funkman 2003/07/28 08:36:23
Modified: catalina/src/bin setclasspath.sh
Log:
per bugzilla 21908
undo my previous commit since I evidently didn't read the patch correctly
and apply the correct patch
Revision Changes Path
1.11 +2 -2 jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh
Index: setclasspath.sh
===================================================================
RCS file: /home/cvs/jakarta-tomcat-4.0/catalina/src/bin/setclasspath.sh,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- setclasspath.sh 26 Jul 2003 14:27:54 -0000 1.10
+++ setclasspath.sh 28 Jul 2003 15:36:23 -0000 1.11
@@ -10,7 +10,7 @@
echo "This environment variable is needed to run this program"
exit 1
fi
-if [ ! "$os400" ]; then
+if $os400; then
if [ ! -r "$JAVA_HOME"/bin/java -o ! -r "$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"
@@ -53,7 +53,7 @@
# Set standard commands for invoking Java.
_RUNJAVA="$JAVA_HOME"/bin/java
-if ! $os400; then
+if [ ! "$os400" ]; then
_RUNJDB="$JAVA_HOME"/bin/jdb
fi
_RUNJAVAC="$JAVA_HOME"/bin/javac
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]