From adc546c01666f3d1b450e2493d481906800c0381 Mon Sep 17 00:00:00 2001
From: Martin Hierholzer <martin.hierholzer@desy.de>
Date: Thu, 8 Nov 2018 11:16:04 +0100
Subject: [PATCH] fixed a missing $ escape

---
 vars/buildDoocsTargetConfig.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vars/buildDoocsTargetConfig.groovy b/vars/buildDoocsTargetConfig.groovy
index 8faeb1b..2e136df 100644
--- a/vars/buildDoocsTargetConfig.groovy
+++ b/vars/buildDoocsTargetConfig.groovy
@@ -57,7 +57,7 @@ def transformIntoStep(String buildName) {
               fi
               echo "export DOOCSARCH=\${DOOCSARCH}" > /export/doocs/doocsarch.env
               sudo -u msk_jenkins git clone http://doocs-git.desy.de/cgit/doocs/\${DOOCSARCH}.git
-              cd ${DOOCSARCH}
+              cd \${DOOCSARCH}
               sed -i CONFIG -e 's|^EPICS[[:space:]]*=.*\$|EPICS = '/export/epics'|'
             """
             sh """
-- 
GitLab