b30490e
From 54ac021920c8975d3fa6fc6ad145627a85f87a9b Mon Sep 17 00:00:00 2001
b30490e
From: Luigi Toscano <luigi.toscano@tiscali.it>
b30490e
Date: Sun, 21 Mar 2021 23:44:08 +0100
b30490e
Subject: [PATCH 37/54] kundo2_aware_xgettext.sh: fix a gawk warning
b30490e
b30490e
The following warning is reported by gawk >= 5 but it really affects
b30490e
also the previous versions:
b30490e
b30490e
warning: regexp escape sequence `\"' is not a known regexp operator
b30490e
(cherry picked from commit 15b70303e2b433e6fbb10e90924d7dbd801cf960)
b30490e
---
b30490e
 kundo2_aware_xgettext.sh | 2 +-
b30490e
 1 file changed, 1 insertion(+), 1 deletion(-)
b30490e
b30490e
diff --git a/kundo2_aware_xgettext.sh b/kundo2_aware_xgettext.sh
b30490e
index b5921d93e2c..0249b68b03d 100644
b30490e
--- a/kundo2_aware_xgettext.sh
b30490e
+++ b/kundo2_aware_xgettext.sh
b30490e
@@ -38,7 +38,7 @@ function add_ctxt_qtundo() {
b30490e
     mv "${POT_PART_QUNDOFORMAT}" "${POT_PART_QUNDOFORMAT2}"
b30490e
     cat "${POT_PART_QUNDOFORMAT2}" | awk '
b30490e
         /^msgid "/ {
b30490e
-            if (lastLine !~ /^\"/ && lastLine !~ /^msgctxt/ && lastLine != "#, fuzzy") {
b30490e
+            if (lastLine !~ /^"/ && lastLine !~ /^msgctxt/ && lastLine != "#, fuzzy") {
b30490e
                 print "msgctxt \"(qtundo-format)\""
b30490e
             }
b30490e
         }
b30490e
-- 
b30490e
2.31.1
b30490e