bottle: cd to the repository before committing
This commit is contained in:
parent
4fd63dc4f8
commit
55950bec59
@ -247,9 +247,11 @@ module Homebrew extend self
|
||||
version = f.version.to_s
|
||||
version += "_#{f.revision}" if f.revision.to_i > 0
|
||||
|
||||
safe_system 'git', 'commit', '--no-edit', '--verbose',
|
||||
"--message=#{f.name}: #{update_or_add} #{version} bottle.",
|
||||
'--', f.path
|
||||
HOMEBREW_REPOSITORY.cd do
|
||||
safe_system "git", "commit", "--no-edit", "--verbose",
|
||||
"--message=#{f.name}: #{update_or_add} #{version} bottle.",
|
||||
"--", f.path
|
||||
end
|
||||
end
|
||||
end
|
||||
exit 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user