aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/software_spec.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-22 19:11:09 -0500
committerJack Nagel2014-07-22 19:14:30 -0500
commit49175cd2149e30755aaf2bb157d04752c090bdae (patch)
treed76c320e859f63430f578d1eb096a3b48a5c048a /Library/Homebrew/software_spec.rb
parent29e119271a1c9c893f10cc62e1ab4c62eb054146 (diff)
downloadhomebrew-49175cd2149e30755aaf2bb157d04752c090bdae.tar.bz2
Hide the downloader implementation from the installer
Diffstat (limited to 'Library/Homebrew/software_spec.rb')
-rw-r--r--Library/Homebrew/software_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/software_spec.rb b/Library/Homebrew/software_spec.rb
index 7b8a09e46..6a5efe3ee 100644
--- a/Library/Homebrew/software_spec.rb
+++ b/Library/Homebrew/software_spec.rb
@@ -170,6 +170,10 @@ class Bottle
cellar == :any || cellar == HOMEBREW_CELLAR.to_s
end
+ def stage
+ resource.downloader.stage
+ end
+
private
def build_url(root_url, filename)