file delete -force not deleting everything
Bryan Blackburn
0x62_0x6c_0x62 at pobox.com
Sat Feb 10 19:56:30 PST 2007
On Feb 10, 2007, at 7:48 PM, Kevin Ballard wrote:
> file delete is a built-in Tcl command - do a `man n file` to see it.
>
> And yeah, it definitely should work.
>
Should, but there have been issues before; see
<http://www.opendarwin.org/pipermail/darwinports/2006-April/033616.html>
for the first time I think it came up with MP...the bug (now in trac):
<http://trac.macports.org/projects/macports/ticket/7063>
According to the changeset for it
<http://trac.macports.org/projects/macports/changeset/19038>
MP has a 'delete' command which should do the trick instead of
'system "rm -rf"' ('delete' is definied in portutil.tcl for those
curious).
Bryan
> On Feb 10, 2007, at 8:33 PM, Blair Zajac wrote:
>
>> Has anybody seen anything like this before?
>>
>> Is the "file delete" an operation provided by Tcl?
>>
>> It's odd that it would go through and try to delete everything,
>> but not finish the job.
>>
>> I'm tempted to change the "file delete -force" into a system "rm -
>> fr ..." call.
>
> --
> Kevin Ballard
> http://kevin.sb.org
> eridius at macports.org
> http://www.tildesoft.com
>
>
More information about the macports-dev
mailing list