tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48840] catalina.sh fails to set CATALINA_HOME on newer bash versions
Date Tue, 02 Mar 2010 13:03:48 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48840

mdietze <mdietze@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |major

--- Comment #3 from mdietze <mdietze@gmail.com> 2010-03-02 13:03:47 UTC ---
Yes, CDPATH is the culprit. As we all (may) know the bash developers are trying
to move towards more POSIX compatibility with every new version. It seems like
they've now implemented POSIX-compliant behaviour for the 'cd' command if
CDPATH is set. Thus bash behaves correctly (apologies for the 'brain-dead'
thing, guys), and scripts need to be cleaned up to deal with this.

Actually I'm not sure what you mean by explicitly setting $CATALINA_HOME. It is
already honoured if set, and most people simply do not want to deal with this
(e.g. if you're a developer and tend to run several tomcat instances from
different directories etc.). 
I'd probably go for the simpler "`dirname $0`/.." stuff as long as the
funny-looking relative path in it does not break anything.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message