[Templates] RedHat 8.0 Weirdness

Dave Cross dave@dave.org.uk
Tue, 5 Nov 2002 12:45:09 +0000


Anyone else seen anything like this?

I have a template (index.html) in ./src and output goes to ./htdocs. My
.ttreerc looks like this:

src    = src
dest   = htdocs
accept = html$
verbose
debug

Running ttree gives the following output:

ttree 2.17 (Template Toolkit version 2.08b)

      Source: src
 Destination: htdocs
Include Path: [  ]
      Ignore: [  ]
        Copy: [  ]
      Accept: [ html$ ]

Template Toolkit configuration:

  * processing tree: src
  + index.html

A file is produced in ./htdocs but it is empty.

Changing to ./src and running:

tpage index.html > ../htdocs/index.html

creates the correct file.

This only started when I upgraded to RH8.0. I installed TT 2.08b yesterday 
but it didn't change anything.

Am I missing something obvious?

Dave...

-- 
  "Don't you boys know any _nice_ songs?"