Fix brew-bottle output for new bottle syntax.

This commit is contained in:
Mike McQuaid 2012-01-29 20:34:46 +00:00
parent c07ca9e56d
commit c38efcef16

View File

@ -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