[MacPorts] #42038: tao @6.2.3 Failed to install pre-built binary
MacPorts
noreply at macports.org
Mon Jan 6 15:43:03 PST 2014
#42038: tao @6.2.3 Failed to install pre-built binary
------------------------------+--------------------------------
Reporter: tlockhart1976@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Resolution: | Keywords: maintainer
Port: |
------------------------------+--------------------------------
Comment (by tlockhart1976@…):
Hmm. The MacPorts docs seem to imply that "delete filename" is about the
same as the TCL "file delete -force" command. But the TCL docs say that
"file delete filename" on a non-existent file is not considered an error.
I see that some Portfiles use "delete filename", others use "file delete
filename", and some using "delete filename" guard that line with a check
for file existence. Whether the docs are right or not, it seems that
running "delete filename" does produce an error, and that this line should
be guarded. Or should I rely on the TCL documented behavior of "file
delete to do this without needing a guard?
--
Ticket URL: <https://trac.macports.org/ticket/42038#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list