Skip to content

Commit ab8219f

Browse files
hgeraldinomarc0der
authored andcommitted
commit
1 parent 5669dbc commit ab8219f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/bash/sdkman-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ function __sdkman_download() {
127127
if [ ! -f "${archives_folder}/${candidate}-${version}.zip" ]; then
128128
local platform_parameter="$(echo $SDKMAN_PLATFORM | tr '[:upper:]' '[:lower:]')"
129129
local download_url="${SDKMAN_CANDIDATES_API}/broker/download/${candidate}/${version}/${platform_parameter}"
130-
local zip_archive_target="${SDKMAN_DIR}/archives/${candidate}-${version}.zip"
131130
local base_name="${candidate}-${version}"
131+
local zip_archive_target="${SDKMAN_DIR}/archives/${base_name}.zip"
132132
headers_file="${metadata_folder}/${base_name}.headers"
133133

134134
# pre-installation hook: implements function __sdkman_pre_installation_hook

0 commit comments

Comments
 (0)