1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-09 20:13:47 -05:00

Import recent changes from ruby-build 20140420

This commit is contained in:
Yamashita Yuu
2014-05-01 13:13:40 +09:00
parent 0c81002220
commit 149a915770
3 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
PYTHON_BUILD_VERSION="20140408"
PYTHON_BUILD_VERSION="20140420"
set -E
exec 3<&2 # preserve original stderr at fd 3
@@ -284,7 +284,8 @@ fetch_tarball() {
fi
if ! reuse_existing_tarball "$package_filename" "$checksum"; then
echo "Downloading ${package_filename}..." >&2
local tarball_filename=$(basename $package_url)
echo "Downloading ${tarball_filename}..." >&2
http head "$mirror_url" &&
download_tarball "$mirror_url" "$package_filename" "$checksum" ||
download_tarball "$package_url" "$package_filename" "$checksum"