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



_______________________________________________
templates mailing list
[email protected]
http://lists.template-toolkit.org/mailman/listinfo/templates

Reply via email to