Don't descend keg-root symlinks, just show where they point

This commit is contained in:
Max Howell 2010-09-12 22:10:28 +01:00
parent 400507b18a
commit 2f438179a7

View File

@ -495,7 +495,11 @@ class PrettyListing
end
else
if pn.directory?
print_dir pn
if pn.symlink?
puts "#{pn} -> #{pn.readlink}"
else
print_dir pn
end
elsif not FORMULA_META_FILES.include? pn.basename.to_s
puts pn
end