From 41325bcfa0355a5a11d75a715f349635c459ed5d Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Thu, 26 May 2016 19:59:04 +0800 Subject: [PATCH] HOMEBREW_CURL_ARGS: add -R to preserve remote timestamp Reference from `man curl` > -R, --remote-time > When used, this will make curl attempt to figure out the time- > stamp of the remote file, and if that is available make the > local file get that same timestamp. --- Library/Homebrew/global.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb index 64ed1bf9e4..4a147272f4 100644 --- a/Library/Homebrew/global.rb +++ b/Library/Homebrew/global.rb @@ -30,7 +30,7 @@ RUBY_BIN = RUBY_PATH.dirname HOMEBREW_USER_AGENT_CURL = ENV["HOMEBREW_USER_AGENT_CURL"] HOMEBREW_USER_AGENT_RUBY = "#{ENV["HOMEBREW_USER_AGENT"]} ruby/#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" -HOMEBREW_CURL_ARGS = "-f#LA" +HOMEBREW_CURL_ARGS = "-f#RLA" require "tap_constants"