From 4369041e93fb568ae6642876530fa049714bdd2e Mon Sep 17 00:00:00 2001 From: Sorin Sbarnea Date: Wed, 20 Mar 2019 15:49:31 +0000 Subject: [PATCH] Fix use of VIRTHOST variable on quickstart.sh Fixed error caused by missing space on bash condition and typo around the notice line. Change-Id: I78436a449c7de8d248d6dce303e929b1f9f4d4d5 --- quickstart.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickstart.sh b/quickstart.sh index fd1e872b8..d748d9972 100755 --- a/quickstart.sh +++ b/quickstart.sh @@ -482,12 +482,12 @@ if [ "$OPT_BOOTSTRAP" = 1 ] || ! [ -f "$OPT_WORKDIR/bin/activate" ]; then fi if [ "$#" -lt 1 ]; then - if ["${VIRTHOST:-}" == ""]; then + if [ "${VIRTHOST:-}" == "" ]; then echo "ERROR: You didn't specify a target machine and VIRTHOST is not defined" >&2 usage >&2 exit 2 else - echo "NOTICE: Using VIRTHOST=$VIRHOST as target machine" >&2 + echo "NOTICE: Using VIRTHOST=$VIRTHOST as target machine" >&2 fi else VIRTHOST=$1