New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 79864


Ignore:
Timestamp:
06/28/11 12:30:51 (4 years ago)
Author:
jmr@…
Message:

fix moving broken symlinks when force activating (#29952)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/registry2.0/portimage.tcl

    r79593 r79864  
    464464                        # files to a backup file, both in the filesystem and in the 
    465465                        # registry 
    466                         if { [file exists $file] } { 
     466                        if { ![catch {file type $file}] } { 
    467467                            set bakfile "${file}${baksuffix}" 
    468468                            ui_warn "File $file already exists.  Moving to: $bakfile." 
Note: See TracChangeset for help on using the changeset viewer.