Skip to contentSkip to conversation

ncurses: use closing curly brackets

PATCH New Markus Lehtonen 1 participant 2 messages Feb 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ncurses: use closing curly brackets

This patch fixes the usage of curly brackets inside python expression in ncurses recipe. This patch should be applied together with
http://lists.openembedded.org/pipermail/bitbake-devel/2016-February/007007.html
which changes python expression parsing in bitbake.

No similar construct was found in any other recipe in git.openembedded.org repositories or the layer repositories in git.yoctoproject.org (master branches).

Markus Lehtonen (1):
ncurses: use closing curly brackets in FILES_${PN}-tools variable

 meta/recipes-core/ncurses/ncurses.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.6.2
#1 lore raw

PATCH 1/1 ncurses: use closing curly brackets in FILES_${PN}-tools variable

This patch removes a workaround (needed for bitbake python parser) where closing curly brackets were replaced by ascii code '\x7d'.

This commit requires a bitbake version with the "data_smart: simple bracket matching inside python expressions" patch applied.

---
 meta/recipes-core/ncurses/ncurses.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-core/ncurses/ncurses.inc +2 -2
index fbe74d5..35b8b94 100644
@@ -284,8 +284,8 @@ FILES_${PN}-tools = "\
   ${bindir}/infotocap \
   ${bindir}/captoinfo \
   ${bindir}/infocmp \
-  ${bindir}/clear${@['', '.${BPN\x7d']['${CLASSOVERRIDE}' == 'class-target']} \
-  ${bindir}/reset${@['', '.${BPN\x7d']['${CLASSOVERRIDE}' == 'class-target']} \
+  ${bindir}/clear${@['', '.${BPN}']['${CLASSOVERRIDE}' == 'class-target']} \
+  ${bindir}/reset${@['', '.${BPN}']['${CLASSOVERRIDE}' == 'class-target']} \
   ${bindir}/tack \
   ${bindir}/tabs \
 "
Signature · 1 line
2.6.2