From 65985e3dd788757d70e547ceada161ac2be6e94d Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Sat, 15 Apr 2017 12:44:02 +0200 Subject: [PATCH] correct escape --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f3c5bdba7..d6b3f1012 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -80,7 +80,7 @@ checkout: stage: prepareAll before_script: - echo $CI_PIPELINE_ID >> $HOME/GitLabCI.queue - - while [ "$(awk '/$CI_PIPELINE_ID/{print NR}' $HOME/GitLabCI.queue)" -ne 1 ];do sleep 5m; done + - while [ $(awk "/$CI_PIPELINE_ID/{print NR}" $HOME/GitLabCI.queue)" -ne 1 ];do sleep 5m; done script: - mkdir -p $DAMASKROOT - git clone -q git@magit1.mpie.de:damask/DAMASK.git $DAMASKROOT @@ -484,7 +484,7 @@ removeLock: before_script: - echo 'Do nothing' when: always - script: sed -i '/$CI_PIPELINE_ID/d' $HOME/GitLabCI.queue + script: sed -i "/$CI_PIPELINE_ID/d" $HOME/GitLabCI.queue except: - master - release