Hello,
For the life of me, I cannot figure out why the simple cfg file copied
directly from the book give me an error. I guess it doesn't like 'wrapper'.

>From the command prompt:
ttree  -f /var/www/html/base/etc/ttree.cfg
returns the error
wrapper: no such variable at /var/www/html/base/etc/ttree.cfg line 17
try `ttree --help'

ttree.cfg
=========================
#  directories
src  = /var/www/html/base/templates/src
lib  = /var/www/html/base/templates/lib
dest = /var/www/html/robertegertmd/html
# copy images and other binary files
copy = \.(png|gif|jpg|pdf)$
# ignore CVS, RCS, and Emacs temporary files
ignore = \b(CVS|RCS|~)\b
ignore = ^#
# misc options
verbose
recurse
recursion
# TT options
pre_process = site/header
pre_process = config/main
wrapper            = config/wrapper
post_process        = site/footer
# define some location variables
define rootdir = /var/www/html/base
define rooturl = /base
=========

If I comment out ' wrapper = config/wrapper', it runs OK.

I downloaded and installed the latest version of the TT2.14 on a
our Red Hat 8.x machine.

Thanks for any help
Bob


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

Reply via email to