Ticket #21852 (closed defect: fixed)
proc merge doesn't properly handle symlinks on Snow Leopard
|Reported by:||ryandesign@…||Owned by:||ryandesign@…|
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.
- Status changed from new to closed
- Resolution set to fixed
- Milestone changed from MacPorts 1.8.2 to MacPorts 1.8.3