summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-09 08:17:02 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-03-09 08:17:02 +0000
commitbf115a5e417184eef6601120df974c9b4dbe104e (patch)
tree22f5fd9e51368d8beab8c251e1bdbb1acec9f7b2 /lib
parent2de2ab3e000c46a8468e2845530f3330dff98b27 (diff)
* 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
Diffstat (limited to 'lib')
-rw-r--r--lib/fileutils.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fileutils.rb b/lib/fileutils.rb
index 0997b94735..80ee1a3c0b 100644
--- a/lib/fileutils.rb
+++ b/lib/fileutils.rb
@@ -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