Changeset 367 for rubysleuth


Ignore:
Timestamp:
04.03.2010 12:06:46 (5 months ago)
Author:
henning
Message:

rubysleuth: 1.9 compat, inode name independence todo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • rubysleuth/sleuth.rb

    r277 r367  
    11require 'fileutils' 
     2 
     3# TODO when working with an image created with ntfs-3g one can not count 
     4#      on the file or directory names being present. 
    25 
    36deps = { 
     
    4548                        matches = [] 
    4649 
    47                         `ils -Am #{$haystack} | grep '#{needle}'`.each do |match| 
     50                        `ils -Am #{$haystack} | grep '#{needle}'`.split( "\n" ).each do |match| 
    4851                                matches.push( Directory.new( match ) ) 
    4952                                matches.delete_if do |i| i.type != 100 end 
Note: See TracChangeset for help on using the changeset viewer.