From 77f3ddc26be5a6a7efdd9b7ba89556429bb9df5b Mon Sep 17 00:00:00 2001 From: Guillaume Vernieres Date: Fri, 20 Sep 2024 16:49:40 -0400 Subject: [PATCH] Update jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE Co-authored-by: Rahul Mahajan --- jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE b/jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE index 59767008c6..878a1d9faa 100755 --- a/jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE +++ b/jobs/JGLOBAL_MARINE_ANALYSIS_FINALIZE @@ -24,7 +24,7 @@ RUN=${GDUMP} YMD=${PDY} HH=${cyc} declare_from_tmpl -rx \ COMOUT_ICE_ANALYSIS:COM_ICE_ANALYSIS_TMPL \ COMOUT_ICE_RESTART:COM_ICE_RESTART_TMPL -mkdir -p "${COMOUT_OCEAN_ANALYSIS}" +if [[ -d "${COMOUT_OCEAN_ANALYSIS}" ]]; then mkdir -p "${COMOUT_OCEAN_ANALYSIS}"; fi mkdir -p "${COMOUT_ICE_ANALYSIS}" mkdir -p "${COMOUT_ICE_RESTART}"