Some SourceForge URLs seem to fail randomly. Log the redirected URL to facilitate debugging.
Signed-off-by: Roland Hieber <[email protected]> --- scripts/lib/ptxd_make_get.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh index 3ac0b71c2a83..d5003384619b 100644 --- a/scripts/lib/ptxd_make_get.sh +++ b/scripts/lib/ptxd_make_get.sh @@ -94,6 +94,7 @@ ptxd_make_get_http() { --location \ --head \ --request GET \ + --write-out '\n%{url_effective}\n' \ "${url}" && if grep -i "content-type:" "${temp_header}" | tail -n 1 | grep -q "text/html"; then ptxd_bailout "Got HTML file" -- 2.27.0 _______________________________________________ ptxdist mailing list [email protected] To unsubscribe, send a mail with subject "unsubscribe" to [email protected]
