Ticket #21852 (closed defect: fixed)
proc merge doesn't properly handle symlinks on Snow Leopard
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | MacPorts 1.9.0 |
| Component: | base | Version: | 1.8.1 |
| Keywords: | Cc: | ||
| Port: |
Description
The "merge" procedure in portutil.tcl doesn't properly handle symlinks on Snow Leopard.
Snow Leopard's "file" command dereferences symlinks by default. This didn't happen in previous Mac OS X versions. The "-h" flag could be used to force "file" not to dereference symlinks, except that this option does not exist in the version of "file" shipped with Tiger. But we can easily use pure tcl to detect basic types like symlinks and directories and not call on "file" until we actually need it.
Change History
Note: See
TracTickets for help on using
tickets.


Fixed on trunk in r58788.