aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 17931f21d..d1564f977 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -217,7 +217,7 @@ class SubversionDownloadStrategy < AbstractDownloadStrategy
@co = Pathname.new("#{HOMEBREW_CACHE}/#{name}--svn")
end
- @co += "-HEAD" if ARGV.build_head?
+ @co = Pathname.new(@co.to_s + '-HEAD') if ARGV.build_head?
end
def cached_location