Project

General

Profile

Bug #10383 ยป 0001-rbinstall.rb-fix-.gemspec-permissions.patch

vo.x (Vit Ondruch), 10/14/2014 11:54 AM

View differences:

tool/rbinstall.rb
# 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()
    (1-1/1)