diff options
| author | Xu Cheng | 2016-05-26 19:59:04 +0800 |
|---|---|---|
| committer | Xu Cheng | 2016-05-26 22:13:50 +0800 |
| commit | 41325bcfa0355a5a11d75a715f349635c459ed5d (patch) | |
| tree | bddd4603969109973e309193d36015dd8791a2c9 /Library | |
| parent | 56375a7b44af55ca7062768f77d6d19c1b2a06bf (diff) | |
| download | brew-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.rb | 2 |
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" |
