From 62ec3f6f4256551f565c544cbf1601a865b3b7cc Mon Sep 17 00:00:00 2001 From: TerrenceMcGuinness-NOAA Date: Wed, 6 Nov 2024 15:08:33 +0000 Subject: [PATCH] Update ci/scripts/utils/ci_utils.sh Of course, love it. Co-authored-by: David Huber <69919478+DavidHuber-NOAA@users.noreply.github.com> --- ci/scripts/utils/ci_utils.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/scripts/utils/ci_utils.sh b/ci/scripts/utils/ci_utils.sh index d9c01939a2..6caae4a6f0 100755 --- a/ci/scripts/utils/ci_utils.sh +++ b/ci/scripts/utils/ci_utils.sh @@ -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}" }