aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
authorJack Nagel2014-06-15 23:31:58 -0500
committerJack Nagel2014-06-15 23:31:58 -0500
commit7595e690727bce7715cc6ccd07d23b36e8dadc76 (patch)
treebc9dc2dbd423dfdb1355d95b301e19560010d4a7 /Library/Homebrew/download_strategy.rb
parentb9c54a23f7c70c6cd36915f5a76f131eeb30e714 (diff)
downloadhomebrew-7595e690727bce7715cc6ccd07d23b36e8dadc76.tar.bz2
Remove an unnecessary use of ARGV.build_head?
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-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?