From 0e1a37789ee636416db1ea67eeaf97c117402f98 Mon Sep 17 00:00:00 2001
From: Jeremy Mathews <Jeremy.Mathews@utsouthwestern.edu>
Date: Mon, 25 Nov 2019 13:48:41 -0600
Subject: [PATCH] double brackets?

---
 .gitlab-ci.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2d54ae9..e8801e1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -12,6 +12,6 @@ unit:
   stage: unit
   script:
   - singularity run 'docker://bicf/bdbag:1.0' bdbag --materialize ./test_data/File_Q-Y53P.zip
-  - if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate completeness ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "The directory ./test_data/File_Q-Y53P is a valid bag structure" ]; then exit 21; fi;
-  - if [ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate full ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "Bag ./test_data/File_Q-Y53P is valid" ]; then exit 21; fi;
-  - if [ $(md5sum test_data/File_Q-Y53P/data/assets/Study/Q-Y4H0/Experiment/Q-Y4BY/Replicate/Q-Y5F8/hMARIS_SIX2+_RiboDep#1.gene.rpkm.txt | awk '{ print $1 }') != $(cat test_data/File_Q-Y53P/data/File.csv | cut -d ',' -f10 | tail -1) ]; then exit 21; fi;
+  - if [[ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate completeness ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "The directory ./test_data/File_Q-Y53P is a valid bag structure" ]]; then exit 21; fi;
+  - if [[ $(singularity run 'docker://bicf/bdbag:1.0' bdbag --validate full ./test_data/File_Q-Y53P/ 2>&1 | tail -3 | head -n 1 | cut -c 34-) != "Bag ./test_data/File_Q-Y53P is valid" ]]; then exit 21; fi;
+  - if [[ $(md5sum test_data/File_Q-Y53P/data/assets/Study/Q-Y4H0/Experiment/Q-Y4BY/Replicate/Q-Y5F8/hMARIS_SIX2+_RiboDep#1.gene.rpkm.txt | awk '{ print $1 }') != $(cat test_data/File_Q-Y53P/data/File.csv | cut -d ',' -f10 | tail -1) ]]; then exit 21; fi;
-- 
GitLab