diff options
| author | Mike McQuaid | 2012-01-29 20:34:46 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-29 20:35:40 +0000 |
| commit | 93eca21de4ced8cae9bc369e4f0ea26bbaa7b5f4 (patch) | |
| tree | 505410f75915a8565bfa751d485af9424e57b1e6 /Library | |
| parent | b96fac7278b6933c49e38acc343d965883a77bb5 (diff) | |
| download | homebrew-93eca21de4ced8cae9bc369e4f0ea26bbaa7b5f4.tar.bz2 | |
Fix brew-bottle output for new bottle syntax.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/examples/brew-bottle.rb | 6 |
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 |
