summaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:57:11 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-06-30 07:57:11 +0000
commit658e43749e3bf08204c1d33249acc1c3bd1d75a1 (patch)
tree2c50ec5a8045529c0c4e7bf7f654663f3fb247f4 /tool
parent720d69b4de8328f2d40621c7582f5850a19dd9c7 (diff)
downloadruby-658e43749e3bf08204c1d33249acc1c3bd1d75a1.tar.gz
ruby-658e43749e3bf08204c1d33249acc1c3bd1d75a1.tar.xz
ruby-658e43749e3bf08204c1d33249acc1c3bd1d75a1.zip
* tool/rbinstall.rb: renamed to get rid of collision against
instruction.rb on command line completion of shell. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool')
-rwxr-xr-xtool/rbinstall.rb (renamed from tool/instruby.rb)2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/instruby.rb b/tool/rbinstall.rb
index 2ad8acf2c..621fffc70 100755
--- a/tool/instruby.rb
+++ b/tool/rbinstall.rb
@@ -221,7 +221,7 @@ def install_recursive(srcdir, dest, options = {})
Dir.foreach(file) do |f|
src = File.join(file, f)
d = File.join(dest, dir = src[subpath])
- stat = File.lstat(src) rescue next
+ stat = File.stat(src) rescue next
if stat.directory?
files << [src, d, true] if /\A\./ !~ f and !prune[dir]
else