Changeset 53877


Ignore:
Timestamp:
Jul 16, 2009, 5:58:05 AM (10 years ago)
Author:
blb@…
Message:

Make sure to get symlinks to directories as well (otherwise the link matches 'isdirectory')

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/images-and-archives/base/src/port1.0/portimagefile.tcl

    r52215 r53877  
    122122    set filelist {}
    123123    fs-traverse element $startpath {
    124         if {![file isdirectory $element]} {
     124        if {[file type $element] != "directory"} {
    125125            # registry_fileinfo_for_file only works on files which exist
    126126            # so we must run it against the stuff in the destroot, then strip
Note: See TracChangeset for help on using the changeset viewer.