diff --git a/jobs/JGLOBAL_ARCHIVE b/jobs/JGLOBAL_ARCHIVE index f760b4cd23..648b7ea1c5 100755 --- a/jobs/JGLOBAL_ARCHIVE +++ b/jobs/JGLOBAL_ARCHIVE @@ -70,9 +70,9 @@ if [[ -n "${wavepostGRD}" || -n "${waveinterpGRD}" ]]; then else echo "Both wavepostGRD and waveinterpGRD are empty. No grids to process." fi -gNAME="${gNAME[*]}" -gRES="${gRES[*]}" -gCOM="${gCOM[*]}" +gNAME={"${gNAME[*]}"} +gRES={"${gRES[*]}"} +gCOM={"${gCOM[*]}"}jobs\JGLOBAL_ARCHIVE export gNAME export gRES export gCOM