Skip to content

Commit

Permalink
Make dir for FATESPARAMFILE if needed.
Browse files Browse the repository at this point in the history
  • Loading branch information
samsrabin committed Feb 15, 2024
1 parent ec6cd21 commit d82c7b5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

CASE=`./xmlquery CASE --value`
FATESDIR="${SRCROOT}/src/fates"
FATESPARAMFILE="${SRCROOT}/src/fates/parameter_files/binaries/${CASE}-params.nc"
FATESPARAMDIR="${SRCROOT}/src/fates/parameter_files/binaries"
mkdir -p "${FATESPARAMDIR}"
FATESPARAMFILE="${FATESPARAMDIR}/${CASE}-params.nc"

# No exit status because it should be called in the same shell.

0 comments on commit d82c7b5

Please sign in to comment.