From 93eca21de4ced8cae9bc369e4f0ea26bbaa7b5f4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 29 Jan 2012 20:34:46 +0000 Subject: Fix brew-bottle output for new bottle syntax. --- Library/Contributions/examples/brew-bottle.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Library') diff --git a/Library/Contributions/examples/brew-bottle.rb b/Library/Contributions/examples/brew-bottle.rb index fc1faa4ed..63032bc4e 100755 --- a/Library/Contributions/examples/brew-bottle.rb +++ b/Library/Contributions/examples/brew-bottle.rb @@ -26,7 +26,9 @@ ARGV.each do|formula| # or an uncompressed tarball (and more bandwidth friendly). safe_system 'tar', 'czf', destination/filename, "#{formula}/#{version}" puts "./#{filename}" - puts "bottle 'https://downloads.sf.net/project/machomebrew/Bottles/#{filename}'" - puts "bottle_sha1 '#{(destination/filename).sha1}'" + puts "bottle do" + puts " url 'https://downloads.sf.net/project/machomebrew/Bottles/#{filename}'" + puts " sha1 '#{(destination/filename).sha1}'" + puts "end" end end -- cgit v1.2.3