This workunit currently grabs files in html form, since
there is a redirect that occurs. If we specify `-L` in the
curl command, it handles redirects and graps the files
appropriately.
Fixes: https://tracker.ceph.com/issues/58046
Signed-off-by: Laura Flores <lflores@redhat.com>
(cherry picked from commit
bf30531f0119aa79334891318882ed2fb005fc2f)
function get_sources () {
for s in $SOURCES ; do
- curl --progress-bar --output $s ${DL_PREFIX}$s
+ curl --progress-bar --output $s -L ${DL_PREFIX}$s
done
}