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

Fix bool in bdbag fetch script

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