Ticket #4466: 0001-Fix-sed-usage-in-po-Makefile.patch

File 0001-Fix-sed-usage-in-po-Makefile.patch, 796 bytes (added by karlson2k, 11 months ago)

Suggested fix

  • po/Rules-pot-defaults

    From eb688ea27818ddb1c2e32a1e3f3d4611738eda6f Mon Sep 17 00:00:00 2001
    From: Evgeny Grin <k2k@narod.ru>
    Date: Sun, 21 May 2023 16:21:49 +0300
    Subject: [PATCH] Fix sed usage in po/Makefile
    
    'po' directory does not use automake assignment
    ---
     po/Rules-pot-defaults | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/po/Rules-pot-defaults b/po/Rules-pot-defaults
    index 1c51b56e2..d90e39c84 100644
    a b  
    11 
    22update-po: Makefile 
    33        $(MAKE) $(DOMAIN).pot-update && \ 
    4         $(SED) \ 
     4        $${SED-sed} \ 
    55            -e '/#, fuzzy/d' \ 
    66            -e 's/Project-Id-Version: PACKAGE VERSION/Project-Id-Version: $(PACKAGE) $(VERSION)/' \ 
    77            -e 's/^"Plural-Forms: nplurals=INTEGER;/# "Plural-Forms: nplurals=INTEGER;/' \