Skip to content
This repository was archived by the owner on Aug 9, 2023. It is now read-only.

Commit b590c3a

Browse files
authored
Merge pull request #67 from aws-samples/master
fix nextflow s3 project regex
2 parents 94e74a7 + 71ab931 commit b590c3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/orchestration/nextflow/nextflow-overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ cd /opt/work/$GUID
108108
aws s3 sync --only-show-errors $NF_LOGSDIR/.nextflow .nextflow
109109

110110
# stage workflow definition
111-
if [[ "$NEXTFLOW_PROJECT" =~ "^s3://.*" ]]; then
111+
if [[ "$NEXTFLOW_PROJECT" =~ ^s3://.* ]]; then
112112
aws s3 sync --only-show-errors --exclude 'runs/*' --exclude '.*' $NEXTFLOW_PROJECT ./project
113113
NEXTFLOW_PROJECT=./project
114114
fi

src/containers/nextflow/nextflow.aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ cd /opt/work/$GUID
5151
aws s3 sync --only-show-errors $NF_LOGSDIR/.nextflow .nextflow
5252

5353
# stage workflow definition
54-
if [[ "$NEXTFLOW_PROJECT" =~ "^s3://.*" ]]; then
54+
if [[ "$NEXTFLOW_PROJECT" =~ ^s3://.* ]]; then
5555
aws s3 sync --only-show-errors --exclude 'runs/*' --exclude '.*' $NEXTFLOW_PROJECT ./project
5656
NEXTFLOW_PROJECT=./project
5757
fi

0 commit comments

Comments
 (0)