mirror of
https://github.com/pyenv/pyenv.git
synced 2025-11-10 04:23:47 -05:00
Don't need to create temporary files since tar(1) writes to stdout by default
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user