They are the default in both curl and wget anyway and wget2 doesn't understand the option, failing the download when this option is specified.
Signed-off-by: Lucas Stach <[email protected]> --- scripts/lib/ptxd_make_get.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/lib/ptxd_make_get.sh b/scripts/lib/ptxd_make_get.sh index c06257ee6ebb..22fc0d0834fb 100644 --- a/scripts/lib/ptxd_make_get.sh +++ b/scripts/lib/ptxd_make_get.sh @@ -75,7 +75,6 @@ ptxd_make_get_http() { echo "Checking URL '${url}'..." temp_header="$(mktemp "${PTXDIST_TEMPDIR}/urlcheck.XXXXXX")" || ptxd_bailout "failed to create tempfile" curl \ - --ftp-pasv \ --connect-timeout 30 \ --retry 5 \ --user-agent "PTXdist ${PTXDIST_VERSION_FULL}" \ @@ -101,7 +100,6 @@ ptxd_make_get_http() { progress=bar:force fi wget \ - --passive-ftp \ --progress="${progress}" \ --timeout=30 \ --tries=5 \ -- 2.39.2
