Don't need to create temporary files since tar(1) writes to stdout by default

This commit is contained in:
Yamashita, Yuu 2016-07-26 07:22:47 +00:00
parent e0fdded2cd
commit ad9805a455

View file

@ -474,8 +474,7 @@ download_tarball() {
}
has_tar_xz_support() {
local tarxz="$(mktemp "XXXXXXXX.tar.xz")"
tar Jcf "${tarxz}" /dev/null 1>/dev/null 2>&1
tar Jc /dev/null 1>/dev/null 2>&1
}
fetch_git() {