diff options
| author | Mike McQuaid | 2012-01-29 20:34:46 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2012-01-29 20:35:40 +0000 |
| commit | c38efcef16e42f87efe5f36a0386cb2fc7e2a084 (patch) | |
| tree | b060025c5d9a47adef5b5734a9e228e042349e5c /Library | |
| parent | c07ca9e56db09928c5ad6f412d5fb68d5069d018 (diff) | |
| download | brew-c38efcef16e42f87efe5f36a0386cb2fc7e2a084.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 |
