Don't descend keg-root symlinks, just show where they point
This commit is contained in:
		
							parent
							
								
									400507b18a
								
							
						
					
					
						commit
						2f438179a7
					
				@ -495,7 +495,11 @@ class PrettyListing
 | 
			
		||||
        end
 | 
			
		||||
      else
 | 
			
		||||
        if pn.directory?
 | 
			
		||||
          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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user