https://issues.apache.org/bugzilla/show_bug.cgi?id=49183
Summary: Odd code in setclasspath.sh
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
There is a lone "eval" towards the end of setclasspath.sh:
if [ ! -x "$BASEDIR"/bin/setclasspath.sh ]; then
if $os400; then
# -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
eval
else
The "eval" line looks a bit odd.
Also, surely the setclasspath.sh file does not have to be executable (though of
course it may be) so would it not be just as effective to check if the file is
present? That might avoid the need to check for os400.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]