On Jul 13, 2014, at 3:18 PM, Mark Brethen <[email protected]> wrote:

> Given a directory tree
> 
> src/Mod
>      |-- Arch
>      |-- Assembly
>      |-- Cam
>      |-- CMakeFiles
>      |-- Complete
> 
> In need to reinplace the CMakeLists file in each subdirectory, replacing 
> 'Mod/(subdirectory)' with 'lib/${name}/Mod/(subdirectory). How do you write a 
> tcl loop to accomplish this? (Avoids creating a multitude of patch files.)
> 
> 
> Mark
> 
> 
> 
> 

I forgot to add that the 'CMakeFiles' should be skipped.

Mark




_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to