File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
main/nextflow/cloud/azure/file
test/nextflow/cloud/azure/batch Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -79,9 +79,8 @@ class AzBashLib extends BashFunLib<AzBashLib> {
79
79
local target=$2
80
80
local basedir=$(dirname $2)
81
81
local ret
82
-
83
82
mkdir -p "$basedir"
84
-
83
+
85
84
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
86
85
## if fails check if it was trying to download a directory
87
86
mkdir -p $target
Original file line number Diff line number Diff line change @@ -180,9 +180,8 @@ class AzFileCopyStrategyTest extends Specification {
180
180
local target=$2
181
181
local basedir=$(dirname $2)
182
182
local ret
183
-
184
183
mkdir -p "$basedir"
185
-
184
+
186
185
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
187
186
## if fails check if it was trying to download a directory
188
187
mkdir -p $target
@@ -318,9 +317,8 @@ class AzFileCopyStrategyTest extends Specification {
318
317
local target=$2
319
318
local basedir=$(dirname $2)
320
319
local ret
321
-
322
320
mkdir -p "$basedir"
323
-
321
+
324
322
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
325
323
## if fails check if it was trying to download a directory
326
324
mkdir -p $target
@@ -480,9 +478,8 @@ class AzFileCopyStrategyTest extends Specification {
480
478
local target=$2
481
479
local basedir=$(dirname $2)
482
480
local ret
483
-
484
481
mkdir -p "$basedir"
485
-
482
+
486
483
ret=$(azcopy cp "$source?$AZ_SAS" "$target" 2>&1) || {
487
484
## if fails check if it was trying to download a directory
488
485
mkdir -p $target
You can’t perform that action at this time.
0 commit comments