mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1908 from native-api/show_cache_filename
Report cache filename at download
This commit is contained in:
commit
748a1ff0ec
1 changed files with 2 additions and 2 deletions
|
@ -417,8 +417,8 @@ fetch_tarball() {
|
|||
fi
|
||||
|
||||
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
|
||||
local tarball_filename="$(basename "$package_url")"
|
||||
echo "Downloading ${tarball_filename}..." >&2
|
||||
# Report the cached file name -- sometimes, it's useful to know (#1743)
|
||||
echo "Downloading ${package_filename}..." >&2
|
||||
http head "$mirror_url" &&
|
||||
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
|
||||
download_tarball "$package_url" "$package_filename" "$checksum"
|
||||
|
|
Loading…
Reference in a new issue