bottle: make writing commit message more robust.

This commit is contained in:
Mike McQuaid 2013-12-01 10:25:07 -08:00
parent 2b8e0c8f79
commit fe4370cdd0

View File

@ -207,8 +207,9 @@ module Homebrew extend self
update_or_add = has_bottle_block ? 'update' : 'add' update_or_add = has_bottle_block ? 'update' : 'add'
safe_system 'git', 'commit', formula_path, '-m', safe_system 'git', 'commit', '--no-edit', '--verbose',
"#{f.name}: #{update_or_add} #{f.version} bottle." "--message=#{f.name}: #{update_or_add} #{f.version} bottle.",
'--', formula_path
end end
end end
exit 0 exit 0