From 80ba56a3715df95a8dcc80b9b5abd435cf86ccc1 Mon Sep 17 00:00:00 2001 From: Justin Santa Barbara Date: Wed, 25 Mar 2015 12:36:52 -0700 Subject: [PATCH] Fix variable dollar-char errors --- cluster/aws/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cluster/aws/util.sh b/cluster/aws/util.sh index 065fef7a4bb..2b92ed82324 100644 --- a/cluster/aws/util.sh +++ b/cluster/aws/util.sh @@ -658,7 +658,7 @@ EOF fi echo -e " ${color_yellow}[not working yet]${color_norm}" # Start Docker, in case it failed to start. - ssh -oStrictHostKeyChecking=no -i ${AWS_SSH_KEY} ubuntu@$$minion_ip sudo service docker start > $LOG 2>&1 + ssh -oStrictHostKeyChecking=no -i ${AWS_SSH_KEY} ubuntu@$minion_ip sudo service docker start > $LOG 2>&1 attempt=$(($attempt+1)) sleep 30 done @@ -805,7 +805,7 @@ function ssh-to-node { local cmd="$2" local ip=$(get_instance_public_ip ${node}) - if [[ -z "ip" ]]; then + if [[ -z "$ip" ]]; then echo "Could not detect IP for ${node}." exit 1 fi