aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2012-01-29 20:34:46 +0000
committerMike McQuaid2012-01-29 20:35:40 +0000
commit93eca21de4ced8cae9bc369e4f0ea26bbaa7b5f4 (patch)
tree505410f75915a8565bfa751d485af9424e57b1e6 /Library
parentb96fac7278b6933c49e38acc343d965883a77bb5 (diff)
downloadhomebrew-93eca21de4ced8cae9bc369e4f0ea26bbaa7b5f4.tar.bz2
Fix brew-bottle output for new bottle syntax.
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/examples/brew-bottle.rb6
1 files changed, 4 insertions, 2 deletions
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