From 22296f16573eb28a52bac266f738cd17e45f59cf Mon Sep 17 00:00:00 2001 From: Karthik Vegesna Date: Tue, 31 Oct 2023 23:05:16 -0700 Subject: [PATCH] updated names of environment variables --- docker.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker.sh b/docker.sh index ace3f9b..ca86494 100755 --- a/docker.sh +++ b/docker.sh @@ -4,15 +4,15 @@ # Load input files case ${SIMULATION_TYPE} in AWS) - INPUT_FILE_PATH="${BATCH_JOB_URL}${FILE_SET_NAME}/config/" - OUTPUT_FILE_PATH="${BATCH_JOB_URL}${FILE_SET_NAME}/outputs/${AWS_BATCH_JOB_ARRAY_INDEX:-0}/" + INPUT_FILE_PATH="${BATCH_WORKING_URL}${FILE_SET_NAME}/config/" + OUTPUT_FILE_PATH="${BATCH_WORKING_URL}${FILE_SET_NAME}/outputs/${AWS_BATCH_JOB_ARRAY_INDEX:-0}/" INPUT_FILE_NAME="${FILE_SET_NAME}_${AWS_BATCH_JOB_ARRAY_INDEX:-0}.cym" aws s3 cp $INPUT_FILE_PATH$INPUT_FILE_NAME config.cym ;; LOCAL) INPUT_FILE_PATH="/mnt/${SIMULATION_NAME}/config/" OUTPUT_FILE_PATH="/mnt/${SIMULATION_NAME}/outputs/${JOB_ARRAY_INDEX}/" - INgitPUT_FILE_NAME="${SIMULATION_NAME}_${JOB_ARRAY_INDEX}.cym" + INPUT_FILE_NAME="${SIMULATION_NAME}_${JOB_ARRAY_INDEX}.cym" cp $INPUT_FILE_PATH$INPUT_FILE_NAME config.cym ;; esac