From 232b6a7d0afcfc71ecb6fd7701666709581250e5 Mon Sep 17 00:00:00 2001
From: handreas <andreas.hamacher@monash.edu>
Date: Sun, 2 Feb 2020 05:33:51 +0000
Subject: [PATCH] making stackname prefixing even more robust

---
 CICD/heat/heatcicdwrapper.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CICD/heat/heatcicdwrapper.sh b/CICD/heat/heatcicdwrapper.sh
index 9f9d9bb1..429c2cd9 100644
--- a/CICD/heat/heatcicdwrapper.sh
+++ b/CICD/heat/heatcicdwrapper.sh
@@ -16,7 +16,7 @@ fi
 STACKNAME=$2
 
 
-if [[ "$STACKNAME" == *"$CICD"* ]]; then
+if [[ "$STACKNAME" == "$CICD"* ]]; then
   echo "CICD found in stackname. doing nothing"
 else
   STACKNAME="CICD"$STACKNAME
-- 
GitLab