Skip to content

Commit

Permalink
only delete if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
rcannood committed Mar 21, 2024
1 parent 2585032 commit 1c960ba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run_local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
OUT=output/local

# clear output dir
rm -r "$OUT"
[ -d "$OUT" ] && rm -r "$OUT"

# run component
NXF_VER=23.10.0 nextflow run \
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_local_with_remote.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
OUT=output/local_with_remote

# clear output dir
rm -r "$OUT"
[ -d "$OUT" ] && rm -r "$OUT"

# run component
NXF_VER=23.10.0 nextflow run \
Expand Down

0 comments on commit 1c960ba

Please sign in to comment.