[MacPorts] #21852: proc merge doesn't properly handle symlinks on Snow Leopard
MacPorts
noreply at macports.org
Mon Oct 5 02:01:38 PDT 2009
#21852: proc merge doesn't properly handle symlinks on Snow Leopard
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts 1.8.2
Component: base | Version: 1.8.1
Keywords: | Port:
-------------------------------------+--------------------------------------
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.
--
Ticket URL: <http://trac.macports.org/ticket/21852>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list