File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -97,10 +97,9 @@ list_all_versions() {
9797}
9898
9999download_release () {
100- local toolname version filename url
100+ local toolname version url
101101 toolname=" $1 "
102102 version=" $2 "
103- filename=" $3 "
104103
105104 validate_platform
106105
@@ -113,12 +112,10 @@ download_release() {
113112 cd " ${ASDF_DOWNLOAD_PATH} " || exit 1
114113
115114 echo " * Downloading $toolname release $version ..."
116- # curl "${curl_opts[@]}" -o "$filename" "$url" || fail "Could not download $url"
117115 curl " ${curl_opts[@]} " -O " $url " || fail " Could not download $url "
118116 # TODO: range request ('-C -') does not seem to work
119117
120118 # Download checksum
121- # curl "${curl_opts[@]}" -o "${filename}.sha512sum" "${url}.sha512sum" || fail "Could not download $url"
122119 curl " ${curl_opts[@]} " -O " ${url} .sha512sum" || fail " Could not download $url "
123120 )
124121}
You can’t perform that action at this time.
0 commit comments