aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2011-03-29 10:26:03 +0100
committerMike McQuaid2011-03-29 10:26:03 +0100
commita2aa0c0bffad7d6afe864fbcfc13689a43b9d552 (patch)
treef6c3a61dcb030aaf33e60e9e93c4a2e6e24c6ddc /Library
parent30a4161c83c53d3367565b1170948874cf935323 (diff)
downloadbrew-a2aa0c0bffad7d6afe864fbcfc13689a43b9d552.tar.bz2
Fix brew bottle to work with refactor branch.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-bottle.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb
index ccfc0bd3c..5e61b1495 100755
--- a/Library/Contributions/examples/brew-bottle.rb
+++ b/Library/Contributions/examples/brew-bottle.rb
@@ -1,5 +1,7 @@
# Builds binary brew package
-brew_install
+require 'cmd/install'
+
+Homebrew.install_formulae ARGV.formulae
destination = HOMEBREW_PREFIX + "Bottles"
if not File.directory?(destination)