Skip to content
This repository has been archived by the owner on May 2, 2023. It is now read-only.

Commit

Permalink
Set default values for platform_url and md5sums_url
Browse files Browse the repository at this point in the history
  • Loading branch information
robinbowes committed May 18, 2018
1 parent 2e163be commit 48cbc6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions platform-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ process_cmd_line() {
}

initialize() {
: "${platform_url:=}"
: "${md5sums_url:=}"
if [[ -n $platform_url ]] && [[ -z $md5sums_url ]]; then
usage
fi
Expand Down

0 comments on commit 48cbc6a

Please sign in to comment.