For *.py, fs-traverse or find?

Ryan Schmidt ryandesign at macports.org
Thu Nov 10 08:29:47 PST 2011


On Nov 10, 2011, at 09:07, Jeremy Lavergne wrote:

> I aim to crawl through all KDE packages and set any/all python script
> shebangs to the one that's being used for the build [1].
> 
> Since there's a ridiculous amount of files involved, is it better to have
> a system call to `find` scour for *.py files or stick to our tcl
> `fs-traverse`?

In a Portfile, I would use fs-traverse; it's supposed to be our Tcl replacement for calling find.



More information about the macports-dev mailing list