mirror of
https://github.com/pyenv/pyenv.git
synced 2025-12-11 00:41:27 +09:00
Don't need to create temporary files since tar(1) writes to stdout by default
This commit is contained in:
parent
e0fdded2cd
commit
ad9805a455
@ -474,8 +474,7 @@ download_tarball() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
has_tar_xz_support() {
|
has_tar_xz_support() {
|
||||||
local tarxz="$(mktemp "XXXXXXXX.tar.xz")"
|
tar Jc /dev/null 1>/dev/null 2>&1
|
||||||
tar Jcf "${tarxz}" /dev/null 1>/dev/null 2>&1
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_git() {
|
fetch_git() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user