/[smeserver]/rpms/e-smith-lib/sme8/e-smith-lib-1.18.0-generic_template_expand.patch2
ViewVC logotype

Annotation of /rpms/e-smith-lib/sme8/e-smith-lib-1.18.0-generic_template_expand.patch2

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Wed Aug 20 21:25:30 2008 UTC (16 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New dev stream

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-lib-1.18.0/root/etc/e-smith/events/actions/generic_template_expand mezzanine_patched_e-smith-lib-1.18.0/root/etc/e-smith/events/actions/generic_template_expand
2     --- e-smith-lib-1.18.0/root/etc/e-smith/events/actions/generic_template_expand 2007-10-31 15:56:47.000000000 -0400
3     +++ mezzanine_patched_e-smith-lib-1.18.0/root/etc/e-smith/events/actions/generic_template_expand 2007-10-31 15:53:58.000000000 -0400
4     @@ -52,18 +52,10 @@
5     # processTemplate args, then expand the template
6     s/^\.//;
7     $filename = $_;
8     - %args = (
9     + warn "expanding $filename\n";
10     + esmith::templates::processTemplate({
11     MORE_DATA => { EVENT => $event },
12     TEMPLATE_PATH => $filename,
13     OUTPUT_FILENAME => $filename,
14     - );
15     - open(FILE, "${templates_dir}${filename}");
16     - while (<FILE>)
17     - {
18     - ($param, $value) = split(/=/, $_, 2);
19     - $args{$param} = eval $value; warn $@ if $@;
20     - }
21     - close(FILE);
22     - warn "expanding $filename\n";
23     - esmith::templates::processTemplate(\%args);
24     + });
25     }

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed