Skip to content
Snippets Groups Projects
Commit 9ac7a870 authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Fix bool in bdbag fetch script

parent e7d0d7ec
Branches
Tags
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8871 passed with stages
in 2 minutes and 46 seconds
......@@ -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
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment