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:43 UTC

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

Author: benh
Date: Sun Jun  5 08:28:43 2011
New Revision: 1132045

URL: http://svn.apache.org/viewvc?rev=1132045&view=rev
Log:
Fixing bug that shows when not running EC2 in FT mode.

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=1132045&r1=1132044&r2=1132045&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:43 2011
@@ -10,7 +10,11 @@ MASTERS=/root/mesos-ec2/masters
 SLAVES=/root/mesos-ec2/slaves
 ZOO=/root/mesos-ec2/zoo
 
-ISFT=`cat $ZOO | wc -l`
+if [[ `cat $ZOO` == "*zoo*" ]]; then
+  ISFT=0
+else
+  ISFT=`cat $ZOO | wc -l`
+fi
 
 # Scripts that get used for/while running Mesos.
 SCRIPTS="copy-dir