bottle: make writing commit message more robust.
This commit is contained in:
parent
2b8e0c8f79
commit
fe4370cdd0
@ -207,8 +207,9 @@ module Homebrew extend self
|
||||
|
||||
update_or_add = has_bottle_block ? 'update' : 'add'
|
||||
|
||||
safe_system 'git', 'commit', formula_path, '-m',
|
||||
"#{f.name}: #{update_or_add} #{f.version} bottle."
|
||||
safe_system 'git', 'commit', '--no-edit', '--verbose',
|
||||
"--message=#{f.name}: #{update_or_add} #{f.version} bottle.",
|
||||
'--', formula_path
|
||||
end
|
||||
end
|
||||
exit 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user