diff options
| author | Dave Bayer | 2011-08-20 14:39:32 -0700 |
|---|---|---|
| committer | Max Howell | 2011-09-01 14:01:41 +0100 |
| commit | 4743bc96e23aaa7abee5488e533fefc614120029 (patch) | |
| tree | e69d1a6101a734fcaded465f118cb051bea59c04 | |
| parent | ca451472193cc20e52ea6b0f2b84c9459759ac35 (diff) | |
| download | brew-4743bc96e23aaa7abee5488e533fefc614120029.tar.bz2 | |
Fixes Homebrew/homebrew#7114; Cache confuses --HEAD and non--HEAD svn installs
Signed-off-by: Max Howell <max@methylblue.com>
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index a265e0b35..17b72efd3 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -195,6 +195,7 @@ class SubversionDownloadStrategy <AbstractDownloadStrategy def initialize url, name, version, specs super @unique_token="#{name}--svn" unless name.to_s.empty? or name == '__UNKNOWN__' + @unique_token += "--HEAD" if ARGV.include? '--HEAD' @co=HOMEBREW_CACHE+@unique_token end |
