Author: markt
Date: Mon Jul 7 15:03:52 2014
New Revision: 1608481
URL: http://svn.apache.org/r1608481
Log:
Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=56685
Add quotes necessary for <code>daemon.sh</code> to work correctly on Solaris.
Based on a suggesiton by lfuka.
Modified:
tomcat/trunk/bin/daemon.sh
tomcat/trunk/webapps/docs/changelog.xml
Modified: tomcat/trunk/bin/daemon.sh
URL:
http://svn.apache.org/viewvc/tomcat/trunk/bin/daemon.sh?rev=1608481&r1=1608480&r2=1608481&view=diff
==============================================================================
--- tomcat/trunk/bin/daemon.sh (original)
+++ tomcat/trunk/bin/daemon.sh Mon Jul 7 15:03:52 2014
@@ -105,9 +105,9 @@ test ".$CATALINA_HOME" = . && CATALINA_H
test ".$CATALINA_BASE" = . && CATALINA_BASE="$CATALINA_HOME"
test ".$CATALINA_MAIN" = . &&
CATALINA_MAIN=org.apache.catalina.startup.Bootstrap
# If not explicitly set, look for jsvc in CATALINA_BASE first then
CATALINA_HOME
-if [ -z $JSVC ]; then
+if [ -z "$JSVC" ]; then
JSVC="$CATALINA_BASE/bin/jsvc"
- if [ ! -x $JSVC ]; then
+ if [ ! -x "$JSVC" ]; then
JSVC="$CATALINA_HOME/bin/jsvc"
fi
fi
Modified: tomcat/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1608481&r1=1608480&r2=1608481&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/trunk/webapps/docs/changelog.xml Mon Jul 7 15:03:52 2014
@@ -195,6 +195,10 @@
Update to Tomcat Native Library version 1.1.31 to pick up the Windows
binaries that are based on OpenSSL 1.0.1h. (markt)
</update>
+ <fix>
+ <bug>56685</bug>: Add quotes necessary for <code>daemon.sh</code> to
+ work correctly on Solaris. Based on a suggesiton by lfuka. (markt)
+ </fix>
</changelog>
</subsection>
</section>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]