aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-05 00:11:05 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-04-05 00:11:05 +0000
commit09bcf7b51b316562f706493b726c2b54010e0724 (patch)
treef8af7bad3e73d1305946532667773dd21bc72783 /tool
parent854dae17063e0394e6cca096d966de7a6f463096 (diff)
downloadruby-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
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb2
1 files changed, 2 insertions, 0 deletions
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+"/**/"))