tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48840] fails to set CATALINA_HOME on newer bash versions
Date Tue, 02 Mar 2010 13:03:48 GMT

mdietze <> changed:

           What    |Removed                     |Added
           Severity|normal                      |major

--- Comment #3 from mdietze <> 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:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message