From 4e5adf8919bc29f67d72c28ce3649595a2b1d6b3 Mon Sep 17 00:00:00 2001
From: Michael Prokop <mprokop@sipwise.com>
Date: Wed, 14 Sep 2011 14:05:51 +0000
Subject: [PATCH] fix quoting of installer and sp version check

From: Michael Prokop <mprokop@sipwise.com>
---
 deployment.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/deployment.sh b/deployment.sh
index bf6563c..9749cde 100755
--- a/deployment.sh
+++ b/deployment.sh
@@ -317,7 +317,7 @@ if [ -n "$SP_VERSION" ] && [ -z "$INSTALLER_VERSION" ] ; then
   echo "Error: SP/CE version, but no ngcp-installer version specified" >&2
   exit 1
 fi
-if [ -z $SP_VERSION ] && [ -n $INSTALLER_VERSION ] ; then
+if [ -z "$SP_VERSION" ] && [ -n "$INSTALLER_VERSION" ] ; then
   echo "Error: ngcp-installer version, but no SP/CE version specified" >&2
   exit 1
 fi