delete file

Peter Danecek Peter.Danecek at bo.ingv.it
Wed Dec 11 11:38:25 PST 2013


On Dec 11, 2013, at 20:30 , Ryan Schmidt <ryandesign at macports.org> wrote:

> 
> On Dec 11, 2013, at 12:12, Peter Danecek wrote:
> 
>> I have the following code snippet in my Portfile. However the `delete file` command fails, while the `file delete` command work. So what is the issue here. I thought it would be saver to use `delete file`, even if the possibility that someone is still running 10.3 is quite remote.
> 
> There is no possibility that anyone is running current MacPorts with 10.3 or earlier because MacPorts base does not compile on 10.3 or earlier and hasn’t for years. But you should use “delete” instead of “file delete” because it provides a central place where we could in the future fix other file deletion bugs.

Thanks for this details. And yes, I prefer to use the aliases, that's why I wondering why I never step into the problem before, but maybe I intuitively did it right? 

Anyway, the result is here: 
	https://trac.macports.org/ticket/41768

… and reviews are always welcome.

~petr

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1762 bytes
Desc: not available
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20131211/6c5e1ff0/attachment-0001.p7s>


More information about the macports-dev mailing list