diff options
author | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-05 00:11:05 +0000 |
---|---|---|
committer | hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-04-05 00:11:05 +0000 |
commit | 09bcf7b51b316562f706493b726c2b54010e0724 (patch) | |
tree | f8af7bad3e73d1305946532667773dd21bc72783 | |
parent | 854dae17063e0394e6cca096d966de7a6f463096 (diff) | |
download | ruby-09bcf7b51b316562f706493b726c2b54010e0724.tar.gz |
* 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
-rw-r--r-- | ChangeLog | 4 | ||||
-rwxr-xr-x | tool/rbinstall.rb | 2 |
2 files changed, 6 insertions, 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. diff --git a/tool/rbinstall.rb b/tool/rbinstall.rb index df4688ead7..50bb6434d5 100755 --- a/tool/rbinstall.rb +++ b/tool/rbinstall.rb @@ -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+"/**/")) |