diff options
author | Mike Nolta <mike@nolta.net> | 2020-07-10 14:05:41 -0600 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2020-07-10 14:06:23 -0600 |
commit | def4c0b47e0af546d1669743286fee3c3f3159d3 (patch) | |
tree | 5a2c386798323791361d46a46dce3650bf3b2df0 /contrib/download_prerequisites | |
parent | 70c884a4b82733027ac0e2620d09169b177080d7 (diff) |
This is a harmless bug, as the script still works, but curl's '-O' option isn't the same as wget's.
contrib/ChangeLog:
* download_prerequisites: Don't pass wget options to curl.
Diffstat (limited to 'contrib/download_prerequisites')
-rwxr-xr-x | contrib/download_prerequisites | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/download_prerequisites b/contrib/download_prerequisites index da19913f9ab..7d0c4b5ea8d 100755 --- a/contrib/download_prerequisites +++ b/contrib/download_prerequisites @@ -222,7 +222,7 @@ for ar in $(echo_archives) do if [ ${force} -gt 0 ]; then rm -f "${directory}/${ar}"; fi [ -e "${directory}/${ar}" ] \ - || ${fetch} --no-verbose -O "${directory}/${ar}" "${base_url}${ar}" \ + || ( cd "${directory}" && ${fetch} --no-verbose "${base_url}${ar}" ) \ || die "Cannot download ${ar} from ${base_url}" done unset ar |