Commit 0e6fc8a1 authored by Mattia Mancini's avatar Mattia Mancini
Browse files

Fix globus syntax

parent 97d51018
Pipeline #34807 failed with stage
in 45 seconds
......@@ -26,10 +26,9 @@ requirements:
#!/bin/bash
mkdir out
cd out
turl=`echo $1 | awk '{gsub("srm://srm.grid.sara.nl[:0-9]*","gsiftp://gridftp.grid.sara.nl"); print}'`
echo "Downloading $turl"
globus-url-copy $turl .
file_name=$(inputs.surl_link.split('/').pop())
echo "Downloading $turl to $file_name"
globus-url-copy $turl file://$PWD/$file_name
Supports Markdown
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