aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2011-03-29 10:26:03 +0100
committerMike McQuaid2011-03-29 10:26:03 +0100
commit21e9ea58d5f3e60d90ef3342ad2a8f00138ba33c (patch)
treee48b7b78754c73f952e4a1c7b033f19860a1c2b7
parent43db934da62c0584962ecb52c8c0acf1d1b7354f (diff)
downloadhomebrew-21e9ea58d5f3e60d90ef3342ad2a8f00138ba33c.tar.bz2
Fix brew bottle to work with refactor branch.
-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)