Skip to content
Snippets Groups Projects
Commit 4743bc96 authored by Dave Bayer's avatar Dave Bayer Committed by Max Howell
Browse files

Fixes Homebrew/homebrew#7114; Cache confuses --HEAD and non--HEAD svn installs


Signed-off-by: default avatarMax Howell <max@methylblue.com>
parent ca451472
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment