升级Tomcat版本 apache-tomcat-7.0.77
diff --git a/tomcat-uid/bin/startup.sh b/tomcat-uid/bin/startup.sh
index 3a68fe8..7b10287 100644
--- a/tomcat-uid/bin/startup.sh
+++ b/tomcat-uid/bin/startup.sh
@@ -21,11 +21,8 @@
# Better OS/400 detection: see Bugzilla 31132
os400=false
-darwin=false
case "`uname`" in
-CYGWIN*) cygwin=true;;
OS400*) os400=true;;
-Darwin*) darwin=true;;
esac
# resolve links - $0 may be a softlink
@@ -40,13 +37,13 @@
PRG=`dirname "$PRG"`/"$link"
fi
done
-
+
PRGDIR=`dirname "$PRG"`
EXECUTABLE=catalina.sh
# Check that target executable exists
if $os400; then
- # -x will Only work on the os400 if the files are:
+ # -x will Only work on the os400 if the files are:
# 1. owned by the user
# 2. owned by the PRIMARY group of the user
# this will not work if the user belongs in secondary groups
@@ -58,6 +55,6 @@
echo "This file is needed to run this program"
exit 1
fi
-fi
+fi
exec "$PRGDIR"/"$EXECUTABLE" start "$@"