From: Laura Flores Date: Fri, 18 Nov 2022 00:31:59 +0000 (+0000) Subject: qa/workunits/rados: specify redirect in curl command X-Git-Tag: v18.1.0~869^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F48938%2Fhead;p=ceph.git qa/workunits/rados: specify redirect in curl command 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 --- diff --git a/qa/workunits/rados/test_librados_build.sh b/qa/workunits/rados/test_librados_build.sh index 3463c47dcdbd..14e33251568a 100755 --- a/qa/workunits/rados/test_librados_build.sh +++ b/qa/workunits/rados/test_librados_build.sh @@ -44,7 +44,7 @@ function cleanup () { 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 }