Skip to content

Commit

Permalink
Update ci/scripts/utils/ci_utils.sh
Browse files Browse the repository at this point in the history
Of course, love it.

Co-authored-by: David Huber <[email protected]>
  • Loading branch information
1 parent 02642fc commit 62ec3f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/scripts/utils/ci_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -167,11 +167,11 @@ function cleanup_experiment() {
pslot=$(basename "${EXPDIR}")

# Use the Python utility to get the required variables
read -r ARCDIR ATARDIR DATAROOT < <("${HOMEgfs}/ci/scripts/utils/get_config_var.py" ARCDIR ATARDIR DATAROOT "${EXPDIR}") || true
read -r ARCDIR ATARDIR DATAROOT COMROOT < <("${HOMEgfs}/ci/scripts/utils/get_config_var.py" ARCDIR ATARDIR DATAROOT COMROOT "${EXPDIR}") || true

rm -Rf "${DATAROOT:?}"
rm -Rf "${ARCDIR:?}"
rm -Rf "${ATARDIR:?}"
rm -Rf "${EXPDIR}/../COMROOT/${pslot}"
rm -Rf "${COMROOT:?}"
rm -Rf "${EXPDIR}"
}

0 comments on commit 62ec3f6

Please sign in to comment.