mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 04:55:21 +02:00
* tool/rbinstall.rb: fix bin script permission of bundled gems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
854dae1706
commit
09bcf7b51b
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Sun Apr 5 09:11:00 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* tool/rbinstall.rb: fix bin script permission of bundled gems.
|
||||
|
||||
Sun Apr 5 08:46:08 2015 SHIBATA Hiroshi <shibata.hiroshi@gmail.com>
|
||||
|
||||
* tool/rbinstall.rb: support --program-suffix option.
|
||||
|
|
|
@ -769,6 +769,8 @@ install?(:ext, :comm, :gem) do
|
|||
gemname = File.basename(gem)
|
||||
puts "#{" "*30}#{gemname}"
|
||||
end
|
||||
# fix bindir permission
|
||||
File.chmod($prog_mode, *Dir.glob(with_destdir(bindir)+"/*"))
|
||||
# fix directory permissions
|
||||
# TODO: Gem.install should accept :dir_mode option or something
|
||||
File.chmod($dir_mode, *Dir.glob(install_dir+"/**/"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue