From fe9e7a9f80a6a0e8323d7a7adb0dc47040a254bd Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 11 Feb 2016 13:59:16 +0000
Subject: [PATCH] Task #9048: Create correct tag if branch name does not start
 with LOFAR

---
 Docker/docker-template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Docker/docker-template b/Docker/docker-template
index 8cac4023c1e..61bd6cabfe1 100755
--- a/Docker/docker-template
+++ b/Docker/docker-template
@@ -38,7 +38,7 @@ export LOFAR_BRANCH_URL="https://svn.astron.nl/LOFAR/${LOFAR_BRANCH_NAME}"
 case "${LOFAR_BRANCH_NAME}" in
   trunk)      export LOFAR_TAG=trunk ;;
   tags/*)     export LOFAR_TAG=${LOFAR_BRANCH_NAME##tags/LOFAR-Release-} ;;
-  branches/*) export LOFAR_TAG=${LOFAR_BRANCH_NAME##branches/LOFAR*Task} ;;
+  branches/*) export LOFAR_TAG=${LOFAR_BRANCH_NAME##branches/*Task} ;;
   *)          export LOFAR_TAG=latest ;;
 esac
 
-- 
GitLab