summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tool/lib/_tmpdir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/lib/_tmpdir.rb b/tool/lib/_tmpdir.rb
index c74db70786..eac83e2a8a 100644
--- a/tool/lib/_tmpdir.rb
+++ b/tool/lib/_tmpdir.rb
@@ -27,7 +27,7 @@ END {
]
}
filecolor = ->(st) {
- st.directory? ? "bold;blue" : st.link? ? "bold;cyan" : st.executable? ? "bold;green" : nil
+ st.directory? ? "bold;blue" : st.symlink? ? "bold;cyan" : st.executable? ? "bold;green" : nil
}
warn colorize.notice("Children under ")+colorize.fail(tmpdir)+":"
Dir.children(tmpdir).each do |child|