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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to