diff options
author | Michael Scherer <misc@mageia.org> | 2011-07-20 21:06:06 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2011-07-20 21:06:06 +0000 |
commit | 44025e8d5b54cbb78a0e8f301c0f07b09b62b77b (patch) | |
tree | 20c0ab749c2f3294560d29da2904bfa90daa24b5 /modules/subversion/templates/hook_sendmail.pl | |
parent | cb8c61400f65030d52b7f53975f5109f72c2990c (diff) | |
download | puppet-44025e8d5b54cbb78a0e8f301c0f07b09b62b77b.tar puppet-44025e8d5b54cbb78a0e8f301c0f07b09b62b77b.tar.gz puppet-44025e8d5b54cbb78a0e8f301c0f07b09b62b77b.tar.bz2 puppet-44025e8d5b54cbb78a0e8f301c0f07b09b62b77b.tar.xz puppet-44025e8d5b54cbb78a0e8f301c0f07b09b62b77b.zip |
fix script to not have empty confguration when the i18n mail is not
defined
Diffstat (limited to 'modules/subversion/templates/hook_sendmail.pl')
-rw-r--r-- | modules/subversion/templates/hook_sendmail.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/subversion/templates/hook_sendmail.pl b/modules/subversion/templates/hook_sendmail.pl index 54b4fe22..aab1db5a 100644 --- a/modules/subversion/templates/hook_sendmail.pl +++ b/modules/subversion/templates/hook_sendmail.pl @@ -12,7 +12,7 @@ <%- commit_mail.each do |mail| -%> - <%= mail %> <%- end -%> -<%- if i18n_mail -%> +<%- if i18n_mail != '' -%> '.*\.pot$': PATH: "/usr/bin:/usr/local/bin" handler: Alternative |