ruby-changes:38086
From: hsbt <ko1@a...>
Date: Sun, 5 Apr 2015 09:11:14 +0900 (JST)
Subject: [ruby-changes:38086] hsbt:r50167 (trunk): * tool/rbinstall.rb: fix bin script permission of bundled gems.
hsbt 2015-04-05 09:11:05 +0900 (Sun, 05 Apr 2015) New Revision: 50167 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50167 Log: * tool/rbinstall.rb: fix bin script permission of bundled gems. Modified files: trunk/ChangeLog trunk/tool/rbinstall.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 50166) +++ ChangeLog (revision 50167) @@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Sun Apr 5 09:11:00 2015 SHIBATA Hiroshi <shibata.hiroshi@g...> + + * tool/rbinstall.rb: fix bin script permission of bundled gems. + Sun Apr 5 08:46:08 2015 SHIBATA Hiroshi <shibata.hiroshi@g...> * tool/rbinstall.rb: support --program-suffix option. Index: tool/rbinstall.rb =================================================================== --- tool/rbinstall.rb (revision 50166) +++ tool/rbinstall.rb (revision 50167) @@ -769,6 +769,8 @@ install?(:ext, :comm, :gem) do https://github.com/ruby/ruby/blob/trunk/tool/rbinstall.rb#L769 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+"/**/")) -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/