tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1292891 - /tomcat/trunk/bin/daemon.sh
Date Thu, 23 Feb 2012 18:44:03 GMT
Author: markt
Date: Thu Feb 23 18:44:02 2012
New Revision: 1292891

URL: http://svn.apache.org/viewvc?rev=1292891&view=rev
Log:
Fix BZ52750. Correctly parse command options
Port of r1292878 from 7.0.x

Modified:
    tomcat/trunk/bin/daemon.sh   (contents, props changed)

Modified: tomcat/trunk/bin/daemon.sh
URL: http://svn.apache.org/viewvc/tomcat/trunk/bin/daemon.sh?rev=1292891&r1=1292890&r2=1292891&view=diff
==============================================================================
--- tomcat/trunk/bin/daemon.sh (original)
+++ tomcat/trunk/bin/daemon.sh Thu Feb 23 18:44:02 2012
@@ -34,9 +34,9 @@ while [ -h "$ARG0" ]; do
 done
 DIRNAME="`dirname $ARG0`"
 PROGRAM="`basename $ARG0`"
-for o
+while [ ".$1" != . ]
 do
-  case "$o" in
+  case "$o=1" in
     --java-home )
         JAVA_HOME="$2"
         shift; shift;

Propchange: tomcat/trunk/bin/daemon.sh
            ('svn:executable' removed)



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message