Skip to content
Merged
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 13 additions & 6 deletions sorc/link_workflow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,19 @@ if [[ "${LINK_NEST:-OFF}" == "ON" ]]; then
done
fi

#---------------------------------------
#--link sorc/upp.fd before referencing files within it
#---------------------------------------
(
cd "${HOMEgfs}/sorc" || exit 8
if [[ -d ufs_model.fd ]]; then
if [[ -d upp.fd ]]; then
rm -rf upp.fd
fi
${LINK} ufs_model.fd/UFSATM/upp upp.fd
fi
)

#---------------------------------------
#--add files from external repositories
#---------------------------------------
Expand Down Expand Up @@ -459,12 +472,6 @@ fi
#--link source code directories
#------------------------------
cd "${HOMEgfs}/sorc" || exit 8
if [[ -d ufs_model.fd ]]; then
if [[ -d upp.fd ]]; then
rm -rf upp.fd
fi
${LINK} ufs_model.fd/UFSATM/upp upp.fd
fi

if [[ -d gsi_enkf.fd ]]; then
if [[ -d gsi.fd ]]; then
Expand Down
Loading