From a7758c491c89d993ef07f331b3aadb6d38822b2a Mon Sep 17 00:00:00 2001 From: Mattia Mancini <mancini@astron.nl> Date: Mon, 24 Jan 2022 16:18:13 +0100 Subject: [PATCH] Fix fetch file syntax --- steps/fetch_file.cwl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/steps/fetch_file.cwl b/steps/fetch_file.cwl index f1f92999..aad47dda 100644 --- a/steps/fetch_file.cwl +++ b/steps/fetch_file.cwl @@ -27,7 +27,8 @@ requirements: mkdir out cd out turl=`echo $1 | awk '{gsub("srm://srm.grid.sara.nl[:0-9]*","gsiftp://gridftp.grid.sara.nl"); print}'` + filename=`echo $1 | awk '{sub(".*/", "", $1); print $0}'` echo "Downloading $turl" - globus-url-copy $turl . + globus-url-copy $turl file://$PWD/$filename -- GitLab