On 2015-6-18 05:29 , Lawrence Velázquez wrote:
> On Jun 17, 2015, at 2:35 PM, petr <[email protected]> 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
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to