This patch fixes the errors caused by the creation of test.po in make
test_lang under /install/po

It seem make test ahs regressed though because as a whole it fails
later on with various errors.

So this patch strictly fixes only bug #401.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York
>From a0f6766f101d12acced350e38073932954512d78 Mon Sep 17 00:00:00 2001
From: Simo Sorce <sso...@redhat.com>
Date: Fri, 12 Nov 2010 12:01:40 -0500
Subject: [PATCH] Fix test.po errors in make test

Fixes: https://fedorahosted.org/freeipa/ticket/401
---
 install/po/Makefile.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/install/po/Makefile.in b/install/po/Makefile.in
index 1be7525a33fe556850ce7d6406700a853cf50f79..11d84a73cdc517109c85d1f659884cb3cce04517 100644
--- a/install/po/Makefile.in
+++ b/install/po/Makefile.in
@@ -182,6 +182,7 @@ test_lang:
 	rm -rf test.po test_locale
 	$(MSGINIT) --no-translator -i $(DOMAIN).pot -l en_US -o test.po
 	$(SED) -i -r -e 's/^msgstr[ \t]+"(.*)"[ \t]*$$/msgstr "\xe2\x86\x92\1\xe2\x86\x90"/' test.po
+	$(SED) -i -r -e 's/^msgstr[ \t]+"(.*)(\\n)(.)"[ \t]*$$/msgstr "\1\xe2\x86\x90\2"/' test.po
 	$(MKDIR_P) test_locale/en_US/LC_MESSAGES
 	$(MSGFMT) -o test_locale/en_US/LC_MESSAGES/ipa.mo test.po
 
-- 
1.7.3.2

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to