Author: schultz
Date: Mon Jul 22 23:19:49 2013
New Revision: 1505843
URL: http://svn.apache.org/r1505843
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=55268
- Replace uses of "test -z" with "test ".$FOO" = ." for better shell
compatibility
Modified:
tomcat/trunk/bin/daemon.sh
Modified: tomcat/trunk/bin/daemon.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/daemon.sh?rev=1505843&r1=1505842&r2=1505843&view=diff
==============================================================================
--- tomcat/trunk/bin/daemon.sh (original)
+++ tomcat/trunk/bin/daemon.sh Mon Jul 22 23:19:49 2013
@@ -108,7 +108,7 @@ test ".$CATALINA_BASE" = . && CATALINA_B
test ".$CATALINA_MAIN" = . &&
CATALINA_MAIN=org.apache.catalina.startup.Bootstrap
test ".$JSVC" = . && JSVC="$CATALINA_BASE/bin/jsvc"
# Set the default service-start wait time if necessary
-test -z "$SERVICE_START_WAIT_TIME" && SERVICE_START_WAIT_TIME=10
+test ".$SERVICE_START_WAIT_TIME" = . && SERVICE_START_WAIT_TIME=10
# Ensure that any user defined CLASSPATH variables are not used on startup,
# but allow them to be specified in setenv.sh, in rare case when it is needed.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]