diff --git a/workflow/scripts/bdbag_fetch.sh b/workflow/scripts/bdbag_fetch.sh
index 88a37da5af98c7abe34a8981d7b33c1c9eeabdd5..5fcea7cdd2b9b8276baa413f3d5c57f69a199ce4 100644
--- a/workflow/scripts/bdbag_fetch.sh
+++ b/workflow/scripts/bdbag_fetch.sh
@@ -3,7 +3,7 @@
 bdbag --materialize ${1} --debug
 validateError=true
 bdbag --validate full ${1} && validateError=false
-if [ "${validateError}" == true ]
+if [ ${validateError} == true ]
 then
     n=0
     until [ "${n}" -ge "3" ]
@@ -13,7 +13,7 @@ then
         sleep 15
     done
 fi
-if [ "${validateError}" == true ]
+if [ ${validateError} == true ]
 then
     exit 1
 fi