[Templates] small fix for ttree

Yuri Pimenov Yuri Pimenov <yuri.pimenov@gmail.com>
Mon, 9 May 2005 16:50:43 +0600


hi

attached patch fixes 'undefined value' error with --depend_debug option on.
without that patch ttree blows up in line 188 if there are template depende=
ncies
defined.

icct@debian ..html/el-pharmacy% ./ttree -a -f default.cfg --depend_debug=20
ttree 2.78 (Template Toolkit version 2.14)

      Source: templates
 Destination: output
Include Path: [  ]
      Ignore: [ \b(CVS|RCS)\b, ^#, \b(CVS|RCS)\b, ^# ]
        Copy: [ \.png$, \.gif$, \.png$, \.gif$, \.css$ ]
      Accept: [ \.tt2$ ]
      Suffix: [ tt2 =3D> html ]
Dependencies:
Can't use an undefined value as an ARRAY reference at ./ttree line 188.

my perl version is 5.8.4

--=20
Yuri Pimenov