You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Patrick Luby <pa...@sun.com> on 2001/09/14 03:12:15 UTC

[PATCH] jakarta-tomcat-4.0/catalina/src/bin/catalina.sh

Hello,

Attached is a patch to the
jakarta-tomcat-4.0/catalina/src/bin/catalina.sh file.

This patch eliminates the use of the "pushd" and "popd" shell commands
when running this script with the "debug" argument.

This patch is necessary because "pushd" and "popd" are only built-in
commands in the Bash shell. While /bin/sh is the Bash shell on Linux,
/bin/sh is the Bourne shell on most other Unix platforms. As a result,
on Unix platforms where /bin/sh is the Bourne shell, this script will
fail since there is no "pushd" or "popd".

Thanks,

Patrick
 
-- 
_____________________________________________________________________
Patrick Luby                          Email: patrick.luby@eng.sun.com
Software Engineering Manager          Phone: 408-863-3284
Sun Microsystems, Desktop Foundation Software
901 San Antonio Road, UCUP01-103
Palo Alto, CA 94303-4900
_____________________________________________________________________