aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)