Skip to content

Commit

Permalink
Update rt.sh run_dir issue fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zach1221 authored Apr 19, 2024
1 parent ea6c056 commit 02f1408
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/rt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1041,9 +1041,7 @@ NEW_BASELINE=${STMP}/${USER}/FV3_RT/REGRESSION_TEST
# Overwrite default RUNDIR_ROOT if environment variable RUNDIR_ROOT is set
RUNDIR_ROOT=${RUNDIR_ROOT:-${PTMP}/${USER}/FV3_RT}/rt_$$
mkdir -p "${RUNDIR_ROOT}"
if [[ -L "${PATHRT}/run_dir" && -d "${PATHRT}/run_dir" ]]; then
rm "${PATHRT}/run_dir"
fi
rm -rf "${PATHRT}/run_dir"
echo "Linking ${RUNDIR_ROOT} to ${PATHRT}/run_dir"
ln -s "${RUNDIR_ROOT}" "${PATHRT}/run_dir"
echo "Run regression test in: ${RUNDIR_ROOT}"
Expand Down

0 comments on commit 02f1408

Please sign in to comment.