Changeset 2608 for trunk/gui/apps


Ignore:
Timestamp:
Oct 6, 2011 5:45:18 PM (13 years ago)
Author:
dkearney
Message:

force the renaming of files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/apps/simsim.in

    r2607 r2608  
    771771        if {[regexp {=RAPPTURE-RUN=>([^\n]+)} $_d match result]} {
    772772            if {[string compare "" $params(--runfile)] != 0} {
    773                 if {[catch {file rename $result $params(--runfile)} out]} {
     773                if {[catch {file rename -force -- $result $params(--runfile)} out]} {
    774774                    puts stderr "while moving $result to $params(--runfile): $out"
    775775                }
Note: See TracChangeset for help on using the changeset viewer.