From 5ecb3eabdb2bb3934264061c97df7f20c5ee039b Mon Sep 17 00:00:00 2001 From: Serge Guzik Date: Wed, 13 Feb 2019 13:55:06 +0200 Subject: [PATCH] fix: $distro_info passing --- warp4j | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/warp4j b/warp4j index 47b6b58..e6f5583 100755 --- a/warp4j +++ b/warp4j @@ -439,8 +439,8 @@ function ensure_distro_cached() { if [[ -z $JAVA_VERSION_OVERRIDEN ]]; then if [[ ! $(find_latest_cached $platform $LATEST_LTS) ]]; then distro_info=$(fetch_distro_info $platform $LATEST_LTS) - CONCRETE_JAVA_VERSION=$(find_latest_version $distro_info $LATEST_LTS) - distro_link=$(find_distro_link $distro_info $CONCRETE_JAVA_VERSION) + CONCRETE_JAVA_VERSION=$(find_latest_version "$distro_info" $LATEST_LTS) + distro_link=$(find_distro_link "$distro_info" $CONCRETE_JAVA_VERSION) download_distro $platform $CONCRETE_JAVA_VERSION $distro_link else CONCRETE_JAVA_VERSION=$(find_latest_cached $platform $LATEST_LTS)