mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
rbinstall.rb: fix .gemspec permissions
* tool/rbinstall.rb (gem): Fix permissions of bundled gems specification files. [ruby-core:65700] [Bug #10383] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
fb06f0802e
commit
3958ba3cbe
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Oct 14 21:39:16 2014 Vit Ondruch <vondruch@redhat.com>
|
||||
|
||||
* tool/rbinstall.rb (gem): Fix permissions of bundled gems
|
||||
specification files. [ruby-core:65700] [Bug #10383]
|
||||
|
||||
Tue Oct 14 19:15:31 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
|
||||
|
||||
* ext/win32ole/win32ole_record.c: use typed data.
|
||||
|
|
|
@ -721,6 +721,8 @@ install?(:ext, :comm, :gem) do
|
|||
# fix directory permissions
|
||||
# TODO: Gem.install should accept :dir_mode option or something
|
||||
File.chmod($dir_mode, *Dir.glob(with_destdir(Gem.dir)+"/**/"))
|
||||
# fix .gemspec permissions
|
||||
File.chmod($data_mode, *Dir.glob(with_destdir(Gem.dir)+"/specifications/*.gemspec"))
|
||||
end
|
||||
|
||||
parse_args()
|
||||
|
|
Loading…
Reference in a new issue