diff options
| author | Jack Nagel | 2014-06-15 23:31:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-15 23:31:58 -0500 |
| commit | 7595e690727bce7715cc6ccd07d23b36e8dadc76 (patch) | |
| tree | bc9dc2dbd423dfdb1355d95b301e19560010d4a7 /Library/Homebrew/download_strategy.rb | |
| parent | b9c54a23f7c70c6cd36915f5a76f131eeb30e714 (diff) | |
| download | homebrew-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.rb | 2 |
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? |
