From b546960da9b737bdb9897a128de24fc867fee5a9 Mon Sep 17 00:00:00 2001 From: Connor Mann Date: Fri, 14 May 2021 15:14:56 -0400 Subject: [PATCH] Revert "Update Library/Homebrew/utils/curl.rb" This reverts commit ecaaafba203578498fbc0a48493adea1790839f2. --- Library/Homebrew/utils/curl.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Library/Homebrew/utils/curl.rb b/Library/Homebrew/utils/curl.rb index c9fb1bef64..5578d29711 100644 --- a/Library/Homebrew/utils/curl.rb +++ b/Library/Homebrew/utils/curl.rb @@ -147,9 +147,9 @@ module Utils end end - args.prepend "--location", "--remote-time", "--output", destination + args = ["--location", "--remote-time", "--output", destination, *args] # continue-at shouldn't be used with servers that don't support partial requests. - args.prepend "--continue-at", "-" if destination.exist? && supports_partial + args = ["--continue-at", "-", *args] if destination.exist? && supports_partial curl(*args, **options) end