mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-07 20:31:01 -05:00
fix typo to verify jar's checksum
This commit is contained in:
parent
80f4022891
commit
0bc8d8252e
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ fetch_tarball() {
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local package_filename="${package_name}.tar" # later tar can read compression algorithm from file
|
local package_filename="${package_name}.tar" # recent tar can read compression format from file
|
||||||
symlink_tarball_from_cache "$package_filename" "$checksum" || {
|
symlink_tarball_from_cache "$package_filename" "$checksum" || {
|
||||||
echo "Downloading ${package_filename}..." >&2
|
echo "Downloading ${package_filename}..." >&2
|
||||||
{ http head "$mirror_url" &&
|
{ http head "$mirror_url" &&
|
||||||
|
@ -334,7 +334,7 @@ fetch_jar() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local package_filename="${package_name}.jar"
|
local package_filename="${package_name}.jar"
|
||||||
symlink_jar_from_cache "$package_filename" "checksum" || {
|
symlink_jar_from_cache "$package_filename" "$checksum" || {
|
||||||
echo "Downloading ${package_filename}..." >&2
|
echo "Downloading ${package_filename}..." >&2
|
||||||
{ http head "$mirror_url" &&
|
{ http head "$mirror_url" &&
|
||||||
download_jar "$mirror_url" "$package_filename" "$checksum"
|
download_jar "$mirror_url" "$package_filename" "$checksum"
|
||||||
|
|
Loading…
Reference in a new issue