[gnome3-web] [i18n] sed hack to get closing </script> tags



commit 84f76eb42849a2aa4c4566fa30b683b77fe921d2
Author: Frédéric Péters <fpeters 0d be>
Date:   Wed Feb 9 15:28:58 2011 +0100

    [i18n] sed hack to get closing </script> tags

 po/build.sh |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/po/build.sh b/po/build.sh
index 9c2f085..5a54e9a 100755
--- a/po/build.sh
+++ b/po/build.sh
@@ -8,6 +8,7 @@ do
     do
       echo "Writing $HTMLFILE.$LANG"
       xml2po -p $POFILE -m xhtml -o $HTMLFILE.$LANG $HTMLFILE
+      sed -i -e 's/\(<script.*\)/\1<\/script>/' $HTMLFILE.$LANG
     done
 done
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]