Skip to content
Merged
Changes from all 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
4 changes: 3 additions & 1 deletion kgo_updates/meto_update_kgo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ new_kgo_dir=${new_kgo_dir:-"vn${version_number}_t${ticket_number}"}
# Check in the working_copy rose-stem for .rc or .cylc files
# Need this for the variables file extension
# Can't use Cylc version as .rc can be used in compatibility mode
if [ -f "${wc_path}/rose-stem/suite.rc" ]; then
# Temporary Update post UM switched to flow.cylc, but still variables.rc
# This section can be removed once UM is just using .cylc at vn14.0
if [ -f "${wc_path}/rose-stem/family-common.rc" ]; then
variables_extension=".rc"
elif [ -f "${wc_path}/rose-stem/suite.cylc" ] || [ -f "${wc_path}/rose-stem/flow.cylc" ]; then
variables_extension=".cylc"
Expand Down