mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
fix http_get_aria to cat the correct file
This commit is contained in:
parent
2ecec311fe
commit
98c5b711dc
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ http_get_aria2c() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if aria2c --allow-overwrite=true --no-conf=true -d "${dir_out}" -o "${out}" ${ARIA2_OPTS} "$1" >&4; then
|
if aria2c --allow-overwrite=true --no-conf=true -d "${dir_out}" -o "${out}" ${ARIA2_OPTS} "$1" >&4; then
|
||||||
[ -n "$2" ] || cat "${out}"
|
[ -n "$2" ] || cat "${dir_out:-.}/${out}"
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue