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

Change error conditional in bdbag fetch to use file

parent c4be8ffc
Branches
Tags
2 merge requests!58Develop,!56Resolve "Detect error in inferMetadata for tracking"
Pipeline #8874 passed with stages
in 2 minutes and 47 seconds
......@@ -3,7 +3,7 @@
bdbag --materialize ${1} --debug
validate=""
bdbag --validate full ${1} 2> validate.txt
validate=$(tail -n validate.txt | grep -o 'is valid')
validate=$(tail -n1 validate.txt | grep -o 'is valid')
if [ "${validate}" != "is valid" ]
then
n=0
......
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