[MacPorts] #60404: rust: use copy, not system cp -r
MacPorts
noreply at macports.org
Sat Mar 6 23:52:29 UTC 2021
#60404: rust: use copy, not system cp -r
-------------------------+----------------------
Reporter: ryandesign | Owner: g5pw
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: rust |
-------------------------+----------------------
Comment (by herbygillot):
So I looked at this while looking at Rust 1.50.0 - cp -R works better than
copy for this case because the source tarballs are all being extracted to
the same destination and have overlapping directory paths, even though the
contents are automatically different.
TCL copy refuses to copy over existing directories even with -force:
From the TCL file copy documentation:
> Trying to overwrite a non-empty directory, overwrite a directory with a
file, or overwrite a file with a directory will all result in errors even
if -force was specified.
--
Ticket URL: <https://trac.macports.org/ticket/60404#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list