aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorXu Cheng2016-05-26 19:59:04 +0800
committerXu Cheng2016-05-26 22:13:50 +0800
commit41325bcfa0355a5a11d75a715f349635c459ed5d (patch)
treebddd4603969109973e309193d36015dd8791a2c9 /Library
parent56375a7b44af55ca7062768f77d6d19c1b2a06bf (diff)
downloadbrew-41325bcfa0355a5a11d75a715f349635c459ed5d.tar.bz2
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.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/global.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/global.rb b/Library/Homebrew/global.rb
index 64ed1bf9e..4a147272f 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"