[recipes] Fix quoting in the make-pot script



commit d0723d5efb1da2db0001f5d9fd7d2cc750723114
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 3 16:02:54 2017 -0500

    Fix quoting in the make-pot script
    
    This was copied from a makefile rule, and the quoting is slightly
    different.

 make-pot |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/make-pot b/make-pot
index ed776c6..6dfd1ff 100755
--- a/make-pot
+++ b/make-pot
@@ -32,9 +32,9 @@ srcdir="${srcdir:-$top_srcdir/po}"
 GETTEXT_PACKAGE="${GETTEXT_PACKAGE:-recipes}"
 XGETTEXT_KEYWORDS="${XGETTEXT_KEYWORDS:- --keyword=_ --keyword=N_ --keyword=C_:1c,2 --keyword=NC_:1c,2 
--keyword=g_dngettext:2,3 }"
 
-$SED -e 's/^\(.*\)$$/     N_("\1"),/' $top_srcdir/data/ingredients.list > $top_srcdir/src/ingredients.c
-$SED -e 's/^\(.*\)$$/     N_("no \1"),/' $top_srcdir/data/ingredients.list > $top_srcdir/src/no-ingredients.c
-$SED -e 's/^\(.*\)$$/     N_("\1"),/' $top_srcdir/data/segments.list > $top_srcdir/src/segments.c
+$SED -e 's/^\(.*\)$/     N_("\1"),/' $top_srcdir/data/ingredients.list > $top_srcdir/src/ingredients.c
+$SED -e 's/^\(.*\)$/     N_("no \1"),/' $top_srcdir/data/ingredients.list > $top_srcdir/src/no-ingredients.c
+$SED -e 's/^\(.*\)$/     N_("\1"),/' $top_srcdir/data/segments.list > $top_srcdir/src/segments.c
 
 $XGETTEXT --default-domain="$GETTEXT_PACKAGE" \
           --directory="$top_srcdir" \


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