summaryrefslogtreecommitdiff
path: root/locale/Makefile
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2012-01-31 03:30:29 +0100
committerMichael Tänzer <neo@nhng.de>2012-01-31 03:30:29 +0100
commitd30dd44c1a5eeac330a4281e58db9a0873b32271 (patch)
treee76c1bb4f0b8d64fa1d057ec6dfd7e4edc8f60a6 /locale/Makefile
parent8a7611eb5e18a678f81721d6602b668c2e7bea52 (diff)
downloadcacert-devel-d30dd44c1a5eeac330a4281e58db9a0873b32271.tar.gz
cacert-devel-d30dd44c1a5eeac330a4281e58db9a0873b32271.tar.xz
cacert-devel-d30dd44c1a5eeac330a4281e58db9a0873b32271.zip
bug 1011: Escape all special characters, not only non-ASCII ones while
keeping the PO file intact Signed-off-by: Michael Tänzer <neo@nhng.de>
Diffstat (limited to 'locale/Makefile')
-rw-r--r--locale/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/locale/Makefile b/locale/Makefile
index b703fb2..1517066 100644
--- a/locale/Makefile
+++ b/locale/Makefile
@@ -112,8 +112,7 @@ $(LANGS:%=$(MO_FILE_TEMPLATE)): $(MO_FILE_TEMPLATE): $(PO_FILE_TEMPLATE)
$(LANGS:%=$(PO_FILE_TEMPLATE)):
mkdir -p $(@D)
wget --output-document - '$(@:$(PO_FILE_TEMPLATE)=$(PO_URL_TEMPLATE))' | \
- # convert UTF-8 characters to HTML entities \
- php -r 'while (!feof(STDIN)) echo mb_convert_encoding(fgets(STDIN), "HTML-ENTITIES", "UTF-8");' \
+ php -f escape_special_chars.php \
> $@