diff --git a/scripts/bootstrap/install.sh b/scripts/bootstrap/install.sh index 3c12c6b80..4751ec160 100755 --- a/scripts/bootstrap/install.sh +++ b/scripts/bootstrap/install.sh @@ -80,7 +80,10 @@ link_executables() { } # Read requested versions into an array -readarray -t versions < "$versions_file" +versions=() +while IFS= read -r version; do + versions+=("$version") +done < "$versions_file" # Install each version for version in "${versions[@]}"; do @@ -95,7 +98,6 @@ for version in "${versions[@]}"; do continue fi - url=$(jq --arg key "$key" '.[$key] | .url' -r < "$versions_metadata") if [ "$url" == 'null' ]; then