Skip to content

Commit

Permalink
Prevent undefined error for non-cloud platforms.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Aug 18, 2023
1 parent 4b17d64 commit b17b441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ush/detect_machine.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ case $(hostname -f) in
discover3[1-5].prv.cube) MACHINE_ID=discover ;; ### discover31-35
esac

case $(echo $PW_CSP) in
case $(echo ${PW_CSP:-}) in

aws) MACHINE_ID=aws ;; ### parallelworks aws
google) MACHINE_ID=gcp ;; ### parallelworks gcp
Expand Down

0 comments on commit b17b441

Please sign in to comment.