bottle: cd to the repository before committing

This commit is contained in:
Jack Nagel 2014-06-18 19:31:18 -05:00
parent 4fd63dc4f8
commit 55950bec59

View File

@ -247,9 +247,11 @@ module Homebrew extend self
version = f.version.to_s version = f.version.to_s
version += "_#{f.revision}" if f.revision.to_i > 0 version += "_#{f.revision}" if f.revision.to_i > 0
safe_system 'git', 'commit', '--no-edit', '--verbose', HOMEBREW_REPOSITORY.cd do
"--message=#{f.name}: #{update_or_add} #{version} bottle.", safe_system "git", "commit", "--no-edit", "--verbose",
'--', f.path "--message=#{f.name}: #{update_or_add} #{version} bottle.",
"--", f.path
end
end end
end end
exit 0 exit 0