Ignore:
Timestamp:
Aug 29, 2013, 6:26:07 PM (6 years ago)
Author:
ryandesign@…
Message:

muniversal-1.0.tcl: tell cmp to be silent when it finds a difference

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

    r110084 r110299  
    534534                    } else {
    535535                        # Files are neither directories nor links
    536                         if { ! [catch {system "/usr/bin/cmp \"${dir1}/${fl}\" \"${dir2}/${fl}\" && /bin/cp -v \"${dir1}/${fl}\" \"${dir}\""}] } {
     536                        if { ! [catch {system "/usr/bin/cmp -s \"${dir1}/${fl}\" \"${dir2}/${fl}\" && /bin/cp -v \"${dir1}/${fl}\" \"${dir}\""}] } {
    537537                            # Files are byte by byte the same
    538538                            ui_debug "universal: merge: ${prefixDir}/${fl} is identical in ${base1} and ${base2}"
Note: See TracChangeset for help on using the changeset viewer.