Skip to content

Commit

Permalink
Add missing quotes when handling file paths within install command
Browse files Browse the repository at this point in the history
  • Loading branch information
kr5ture authored and marc0der committed Jun 3, 2023
1 parent f284bc4 commit 19e5c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/bash/sdkman-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function __sdkman_download() {
version="$2"

metadata_folder="${SDKMAN_DIR}/var/metadata"
mkdir -p ${metadata_folder}
mkdir -p "${metadata_folder}"

local platform_parameter="$SDKMAN_PLATFORM"
local download_url="${SDKMAN_CANDIDATES_API}/broker/download/${candidate}/${version}/${platform_parameter}"
Expand Down Expand Up @@ -228,5 +228,5 @@ function __sdkman_checksum_zip() {
__sdkman_echo_no_colour "Not able to perform checksum verification at this time."
fi
fi
done < ${headers_file}
done < "${headers_file}"
}

0 comments on commit 19e5c08

Please sign in to comment.