aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-06-15 23:31:58 -0500
committerJack Nagel2014-06-15 23:31:58 -0500
commite91f359a56f8c798a35df06ab028af85ee423ddf (patch)
tree35c57d4f922db2cfa1fcf451b8e5588d9f9692e3 /Library/Homebrew
parent5c24876d024e3789fe5e87e31e9315c0eb1dfee6 (diff)
downloadbrew-e91f359a56f8c798a35df06ab028af85ee423ddf.tar.bz2
Remove an unnecessary use of ARGV.build_head?
Diffstat (limited to 'Library/Homebrew')
-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 646c08c18..cee9f9bec 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -364,7 +364,7 @@ end
class SubversionDownloadStrategy < VCSDownloadStrategy
def cache_tag
- ARGV.build_head? ? "svn-HEAD" : "svn"
+ resource.version.head? ? "svn-HEAD" : "svn"
end
def repo_valid?