[debian-edu-commits] debian-edu/pkg-team/ 01/02: improve patch 1013

Mike Gabriel sunweaver at debian.org
Tue Sep 1 12:20:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

sunweaver pushed a commit to branch master
in repository gosa.

commit cde8fce3efaecab441508ac724ee0d44540e43e4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Tue Sep 1 14:19:54 2015 +0200

    improve patch 1013
---
 debian/patches/1013_fix-smarty-gettext-tags-recognition.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/1013_fix-smarty-gettext-tags-recognition.patch b/debian/patches/1013_fix-smarty-gettext-tags-recognition.patch
index 1a9fdb1..efb9a61 100644
--- a/debian/patches/1013_fix-smarty-gettext-tags-recognition.patch
+++ b/debian/patches/1013_fix-smarty-gettext-tags-recognition.patch
@@ -11,7 +11,7 @@ Abstract:
    for template in $(find . -name '*.tpl'); do
      echo "* converting .tpl files: $(basename $template)"
 -    sed -e 's/{t}/<?php $t= _("/g;s!{/t}!");?>!g' $template > $template.new
-+    sed -re 's!\{t(|\ [a-z0-9]+=.*)\}(.*)\{/t\}!<?php $t=_("\2{/t}!g;s!\{/t\}!");?>!g' $template > $template.new
++    sed -re 's!\{t(|\ [a-z0-9]+=.*)\}([^\{.]*)\{/t\}!<?php $t=_("\2{/t}!g;s!\{/t\}!");?>!g' $template > $template.new
      mv $template.new $template
    done
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list