diff --git a/install.sh b/install.sh index c2cb997bca0d..afcd567b2d30 100644 --- a/install.sh +++ b/install.sh @@ -57,7 +57,7 @@ detect_platform() { # Get latest version from GitHub API get_latest_version() { - if [ -n "$VERSION" ]; then + if [ -n "${VERSION:-}" ]; then echo "$VERSION" return fi