From 2c7da66570999dcd21f11f976dc6ec27d820f45c Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Fri, 4 Oct 2024 19:28:06 -0700 Subject: Use @ when accessing variables in templates Access without the @ symbol is the older method and is discouraged. --- modules/subversion/templates/hook_sendmail.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/subversion/templates/hook_sendmail.pl') diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl index 81b786d2..9f0b61a4 100644 --- a/modules/subversion/templates/hook_sendmail.pl +++ b/modules/subversion/templates/hook_sendmail.pl @@ -14,7 +14,7 @@ from: subversion_noreply@ml.<%= @domain %> to: <%- commit_mail.each do |mail| -%> - - <%= mail %> + - <%= @mail %> <%- end -%> <%- if i18n_mail != '' -%> '.*\.pot$': @@ -28,5 +28,5 @@ revision-url: "https://svnweb.mageia.org/packages/?revision=%s&view=revision" subject_cx: 1 from: subversion_noreply@ml.<%= @domain %> - to: <%= i18n_mail %> + to: <%= @i18n_mail %> <%- end -%> -- cgit v1.2.1