From 4a126055fb5ee6b591406245ec87d4f806474ea0 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Thu, 9 Dec 2021 12:51:28 +0100
Subject: [PATCH] gettext: Refactor long lines

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .../recipes-core/gettext/gettext_%.bbappend           | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend b/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend
index 484f4e55..be47e65f 100644
--- a/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend
+++ b/meta-oniro-core/recipes-core/gettext/gettext_%.bbappend
@@ -5,11 +5,14 @@
 # It's better for code size and security (fix bugs in one place),
 # and startup time of something only run on a developer machine
 # hardly matters.
-
 DEPENDS += "libxml2 libcroco glib-2.0"
-
 do_configure:prepend () {
 	# Get rid of forcing bundled library versions
-	sed -i -e 's,gl_LIBXML(\[yes\]),gl_LIBXML([no]),g' -e 's,gl_LIBCROCO(\[yes\]),gl_LIBCROCO([no]),g' -e 's,gl_LIBGLIB(\[yes\]),gl_LIBGLIB([no]),g' ${S}/libtextstyle/gnulib-m4/gnulib-comp.m4
-	sed -i -e 's,force_included=yes,force_included=no,g' ${S}/configure ${S}/*/configure
+	sed -i \
+		-e 's,gl_LIBXML(\[yes\]),gl_LIBXML([no]),g' \
+		-e 's,gl_LIBCROCO(\[yes\]),gl_LIBCROCO([no]),g' \
+		-e 's,gl_LIBGLIB(\[yes\]),gl_LIBGLIB([no]),g' \
+		${S}/libtextstyle/gnulib-m4/gnulib-comp.m4
+	sed -i -e 's,force_included=yes,force_included=no,g' \
+		${S}/configure ${S}/*/configure
 }
-- 
GitLab