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

Excape bash vars

parent 42785f19
Branches
Tags
2 merge requests!68Develop,!67Resolve "Change Single Read to Single End for submitted endness"
Pipeline #9118 failed with stages
in 35 seconds
......@@ -2217,9 +2217,9 @@ process uploadOutputBag {
loc=\$(deriva-hatrac-cli --host ${source} put ./\${file} /hatrac/resources/rnaseq/pipeline/output_bag/study/${studyRID}/replicate/${repRID}/\${file} --parents)
echo LOG: output bag uploaded - \${loc} >> ${repRID}.uploadOutputBag.log
# url-ify the location
loc=${loc//\//%2F}
loc=${loc//:/%3A}
loc=${loc// /@20}
loc=\${loc//\//%2F}
loc=\${loc//:/%3A}
loc=\${loc// /@20}
cookie=\$(cat credential.json | grep -A 1 '\\"${source}\\": {' | grep -o '\\"cookie\\": \\".*\\"')
cookie=\${cookie:11:-1}
......
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