[Templates] another ttree patch

Andy Wardley abw@andywardley.com
Wed, 8 Oct 2003 12:57:16 +0100


Mark Anderson wrote:
> Currently, if there are any explicit files on @ARGV (versus just relying
> on srcdir), ttree will internally call $template->process directly
> bypassing all the processing that happens in the no-@ARGV case
> via the function process_file():
>   - suffix mapping (my previous patch)
>   - mtime and accept checking
>   - permission preserving
>   - copy processing

Looks good with the exception of modification time.  It's established ttree
behaviour that files specified on the command line are always processed
regardless of modtime.  But apart from that, it's fine by me.

I've applied a modified version of the patch that implements it.

Thanks
A