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

Annotation of /rpms/e-smith-lib/sme7/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.1 - (hide annotations) (download)
Wed Oct 31 23:08:42 2007 UTC (16 years, 7 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-lib-1_18_0-23_el4_sme, e-smith-lib-1_18_0-19_el4_sme, e-smith-lib-1_18_0-17_el4_sme, e-smith-lib-1_18_0-24_el4_sme, e-smith-lib-1_18_0-28_el4_sme, e-smith-lib-1_18_0-18_el4_sme, e-smith-lib-1_18_0-22_el4_sme, e-smith-lib-1_18_0-27_el4_sme, e-smith-lib-1_18_0-21_el4_sme, e-smith-lib-1_18_0-26_el4_sme, e-smith-lib-1_18_0-20_el4_sme, e-smith-lib-1_18_0-25_el4_sme
Updates

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