recursive glob ...

Joshua Root jmr at macports.org
Wed Jun 17 12:46:20 PDT 2015


On 2015-6-18 05:29 , Lawrence Velázquez wrote:
> On Jun 17, 2015, at 2:35 PM, petr <976F at ingv.it> wrote:
> 
>> how would I make a recursive glob in TCL? 
>> I need to change the permissions of a faulty distfile, where permissions are set to restrictive?
> 
> You can't, really. You should use our fs-traverse proc.
> 
>     fs-traverse f ${worksrcpath} {
>         file attributes $f -permissions a+r
>     }

There's nothing wrong with running:

system "chmod -R a+rX ${worksrcpath}"

in this situation either.

- Josh


More information about the macports-dev mailing list