From bf30531f0119aa79334891318882ed2fb005fc2f Mon Sep 17 00:00:00 2001 From: Laura Flores Date: Fri, 18 Nov 2022 00:31:59 +0000 Subject: [PATCH] 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 --- qa/workunits/rados/test_librados_build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/workunits/rados/test_librados_build.sh b/qa/workunits/rados/test_librados_build.sh index 3463c47dcdb..14e33251568 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 }