diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4034ff4078666087513417f803e73e40c00a18c1..f0baf0fb91ebf9da47c7be98748a2ca1a4e0060a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ before_script: - cd resultsanalysis - pip install . - cd ../ - - if [[ i! -d 'phasexmlcreator' ]]; then rm -r phasexmlcreator; fi + - if [[ -d 'phasexmlcreator' ]]; then rm -r phasexmlcreator; fi - git clone https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.developers.cam.ac.uk/ch/hunter/ssiptools/ssimpleapps/phasexmlcreator.git - cd phasexmlcreator - pip install .