Skip to content
Snippets Groups Projects
Commit a25cb259 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Fix clean template.

parent 4bf2edaa
No related branches found
No related tags found
1 merge request!3Refactor folder structure. Putting configuration files and namelists inside...
...@@ -9,13 +9,12 @@ FILES_TO_CLEAN="%simulation.FILES_TO_CLEAN%" ...@@ -9,13 +9,12 @@ FILES_TO_CLEAN="%simulation.FILES_TO_CLEAN%"
# Define run directory # Define run directory
RUNDIR=${WORKDIR}/${STARTDATE}/${MEMBER} RUNDIR=${WORKDIR}/${STARTDATE}/${MEMBER}
# Copy the output files # Copy the output files
for file_name in ${FILES_TO_CLEAN}; do for file_name in ${FILES_TO_CLEAN}; do
rm ${RUNDIR}/${file_name} rm "${RUNDIR}/${file_name}"
done done
# Remove the output files from the remote machine # Remove the output files from the remote machine
OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER} OUTPUT_DIR=${WORKDIR}/output/${STARTDATE}/${MEMBER}
rm ${OUTPUT_DIR}/* rm ${OUTPUT_DIR}/*
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment