[Templates] Ignoring config in subdirectories?

Garry Heaton garry@usableit.co.uk
Fri, 04 May 2007 09:27:48 +0100


I have the following ttree.cfg

********************************
src  = /var/www/html/orm/tt/src
lib  = /var/www/html/orm/tt/lib
dest = /var/www/html/orm/pub

ignore = ^#
ignore = ~$
ignore = .sh$

verbose
recurse
recursion

pre_process = config
wrapper = wrapper

define rootdir = /var/www/html/orm
define debug = 0

suffix sht=html
suffix sph=php
suffix sjs=js
suffix scs=css

expose_blocks
********************************

I have a 'go.sh' script:

ttree -f /var/www/html/orm/tt/ttree.cfg $@

When I specify:

./go.sh -a

..... all files ending in ~ are ignored, as specified, but if I limit myself 
to a subdirectory with:

./go.sh about/*

.... then the same files are not ignored and I end up with a 'pub' directory 
full of superfluous files ending in ~.

?

Garry