summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
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 2ad8acf2c2e..621fffc70d8 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