Skip to content

Commit 2008ab6

Browse files
Merge branch 'lfric_macros_expanduser' of github.com:MetOffice/SimSys_Scripts into lfric_macros_expanduser
2 parents d57cefc + 638c196 commit 2008ab6

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

kgo_updates/meto_update_kgo.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ fi
5151
# Prompt user for Update Details
5252
echo "Enter the platforms requiring a kgo update"
5353
echo "Enter platforms lowercase and space separated, eg. ex1a azspice"
54-
read -r platforms
55-
read -rp "Suite Username: " suite_user
54+
read -rp "Platforms (default ex1a azspice): " platforms
55+
platforms=${platforms:-"ex1a azspice"}
56+
read -rp "Suite Username (default ${USER}): " suite_user
57+
suite_user=${suite_user:-"${USER}"}
5658
if [[ $platforms == *"ex1a"* ]]; then
5759
while :
5860
do

0 commit comments

Comments
 (0)