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

Signed-off-by: Max Howell <max@methylblue.com>
This commit is contained in:
Dave Bayer authored and Max Howell committed 2011-09-01 14:01:41 +01:00
1 parent 381c97f9f4
commit 7fe2ee8382
1 file changed
+1
+1
View File
@@ -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