BSD versions of getopt(), including macOS, require options first.

This commit is contained in:
Atgeirr Flø Rasmussen 2024-04-23 13:42:13 +02:00
parent a2b660d705
commit 38de1dee5b

View File

@ -73,7 +73,7 @@ do
echo "=== Executing restart run from step: ${STEP} ===" echo "=== Executing restart run from step: ${STEP} ==="
mkdir -p ${RESULT_PATH}/restart mkdir -p ${RESULT_PATH}/restart
cp -f ${RESULT_PATH}/${FILENAME}.UNRST ${RESULT_PATH}/restart cp -f ${RESULT_PATH}/${FILENAME}.UNRST ${RESULT_PATH}/restart
${RST_DECK_COMMAND} ${INPUT_DATA_PATH}/${FILENAME}.DATA ${FILENAME}:${STEP} -m inline -s > ${RESULT_PATH}/restart/${FILENAME}_RESTART_${STEP}.DATA ${RST_DECK_COMMAND} -m inline -s ${INPUT_DATA_PATH}/${FILENAME}.DATA ${FILENAME}:${STEP} > ${RESULT_PATH}/restart/${FILENAME}_RESTART_${STEP}.DATA
cd ${RESULT_PATH}/restart cd ${RESULT_PATH}/restart
if test -n "$RESTART_SCHED" if test -n "$RESTART_SCHED"
then then