mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb (mkdir, mkdir_p): revert.
* instruby.rb (umask): umask 0022, not 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bf115a5e41
commit
ced8bbee7c
3 changed files with 9 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
Sun Mar 9 19:30:25 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/fileutils.rb (mkdir, mkdir_p): revert.
|
||||
|
||||
* instruby.rb (umask): umask 0022, not 0.
|
||||
|
||||
Sun Mar 9 17:09:40 2003 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.
|
||||
|
|
|
@ -9,7 +9,7 @@ require 'shellwords'
|
|||
require 'getopts'
|
||||
require 'tempfile'
|
||||
|
||||
File.umask(0)
|
||||
File.umask(0022)
|
||||
|
||||
def parse_args()
|
||||
getopts('n', 'dest-dir:',
|
||||
|
|
|
@ -140,7 +140,7 @@ module FileUtils
|
|||
return if noop
|
||||
|
||||
list.each do |dir|
|
||||
Dir.mkdir dir, 0755
|
||||
Dir.mkdir dir
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -173,7 +173,7 @@ module FileUtils
|
|||
dir = File.dirname(dir)
|
||||
end
|
||||
stack.reverse_each do |n|
|
||||
Dir.mkdir n, 0755
|
||||
Dir.mkdir n
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue