mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* lib/fileutils.rb (mkdir, mkdir_p): set mode to 0755.
* Makefile.in (fake.rb): set ALT_SEPARATOR to the default value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2de2ab3e00
commit
bf115a5e41
4 changed files with 18 additions and 6 deletions
|
@ -140,7 +140,7 @@ module FileUtils
|
|||
return if noop
|
||||
|
||||
list.each do |dir|
|
||||
Dir.mkdir dir
|
||||
Dir.mkdir dir, 0755
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -173,7 +173,7 @@ module FileUtils
|
|||
dir = File.dirname(dir)
|
||||
end
|
||||
stack.reverse_each do |n|
|
||||
Dir.mkdir n
|
||||
Dir.mkdir n, 0755
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue