mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 20:44:13 +00:00
Revert fetch_nightly_tarball
which is used from PyPy's nightly build (fixes #546)
This commit is contained in:
parent
a6f1f480eb
commit
b1cccdb24c
1 changed files with 13 additions and 0 deletions
|
@ -412,6 +412,19 @@ fetch_tarball() {
|
|||
} >&4 2>&1
|
||||
}
|
||||
|
||||
fetch_nightly_tarball() {
|
||||
local package_name="$1"
|
||||
local package_url="$2"
|
||||
local package_pattern="$3"
|
||||
fetch_tarball "$1" "$2"
|
||||
if [ ! -e "${package_name}" ]; then
|
||||
local nightly_package_name="$(echo ${package_pattern})"
|
||||
if [ -e "${nightly_package_name}" ]; then
|
||||
ln -fs "${nightly_package_name}" "${package_name}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
reuse_existing_tarball() {
|
||||
local package_filename="$1"
|
||||
local checksum="$2"
|
||||
|
|
Loading…
Reference in a new issue