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

Fix bdbag fetch script bool

parent cb8b218d
Branches
Tags
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8870 passed with stages
in 2 minutes and 34 seconds
......@@ -3,7 +3,7 @@
bdbag --materialize ${1} --debug
validateError=true
bdbag --validate full ${1} && validateError=false
if [ ${validateError} ]
if [ "${validateError}" == true ]
then
n=0
until [ "${n}" -ge "3" ]
......@@ -13,7 +13,7 @@ then
sleep 15
done
fi
if [ ${validateError} ]
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