Fixes Homebrew/homebrew#7114; Cache confuses --HEAD and non--HEAD svn installs
Signed-off-by: Max Howell <max@methylblue.com>
This commit is contained in:
parent
ca45147219
commit
4743bc96e2
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user