You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by be...@apache.org on 2011/06/05 10:28:59 UTC

svn commit: r1132047 - /incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup

Author: benh
Date: Sun Jun  5 08:28:59 2011
New Revision: 1132047

URL: http://svn.apache.org/viewvc?rev=1132047&view=rev
Log:
Bash if statement bug.

Modified:
    incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup

Modified: incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup
URL: http://svn.apache.org/viewvc/incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup?rev=1132047&r1=1132046&r2=1132047&view=diff
==============================================================================
--- incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup (original)
+++ incubator/mesos/trunk/ec2/deploy.lucid64/root/mesos-ec2/setup Sun Jun  5 08:28:59 2011
@@ -10,7 +10,7 @@ MASTERS=/root/mesos-ec2/masters
 SLAVES=/root/mesos-ec2/slaves
 ZOO=/root/mesos-ec2/zoo
 
-if [[ `cat $ZOO` == "*zoo*" ]]; then
+if [[ `cat $ZOO` = *zoo* ]]; then
   ISFT=0
 else
   ISFT=`cat $ZOO | wc -l`