From a2aa0c0bffad7d6afe864fbcfc13689a43b9d552 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 29 Mar 2011 10:26:03 +0100 Subject: [PATCH] Fix brew bottle to work with refactor branch. --- Library/Contributions/examples/brew-bottle.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb index ccfc0bd3ca..5e61b1495a 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)