Skip to content

Commit 4fae647

Browse files
Temporary fix for kgo updates (#110)
Temporary fix to the KGO script while cylc 8 transition is finalised.
1 parent efc37b4 commit 4fae647

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

kgo_updates/meto_update_kgo.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ new_kgo_dir=${new_kgo_dir:-"vn${version_number}_t${ticket_number}"}
9090
# Check in the working_copy rose-stem for .rc or .cylc files
9191
# Need this for the variables file extension
9292
# Can't use Cylc version as .rc can be used in compatibility mode
93-
if [ -f "${wc_path}/rose-stem/suite.rc" ]; then
93+
# Temporary Update post UM switched to flow.cylc, but still variables.rc
94+
# This section can be removed once UM is just using .cylc at vn14.0
95+
if [ -f "${wc_path}/rose-stem/family-common.rc" ]; then
9496
variables_extension=".rc"
9597
elif [ -f "${wc_path}/rose-stem/suite.cylc" ] || [ -f "${wc_path}/rose-stem/flow.cylc" ]; then
9698
variables_extension=".cylc"

0 commit comments

Comments
 (0)