From 664eb433d91185091e0f2101f49f6a8d772311a0 Mon Sep 17 00:00:00 2001 From: Seth Bollinger Date: Sat, 26 Oct 2013 09:23:24 -0500 Subject: [PATCH] ncurses-terminfo: Remove bashism from basic terminfo installation The vtX terminfo files aren't being copied on systems where bash isn't the default shell (debian, etc.). I removed the bash specific syntax so the files are properly copied on these systems. (From OE-Core master rev: edd7d53c6149b27d5636a458db91650c8c400612) (From OE-Core rev: ccb25cd9df9ed4b84b74170336cfde5c1dc3d013) Signed-off-by: Seth Bollinger Signed-off-by: Saul Wold Signed-off-by: Richard Purdie Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/ncurses.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc index 671daf89ec..01cdf132da 100644 --- a/meta/recipes-core/ncurses/ncurses.inc +++ b/meta/recipes-core/ncurses/ncurses.inc @@ -174,7 +174,7 @@ shell_do_install() { # include some basic terminfo files # stolen ;) from gentoo and modified a bit - for x in ansi console dumb linux rxvt screen sun vt{52,100,102,200,220} xterm-color xterm-xfree86 xterm-256color + for x in ansi console dumb linux rxvt screen sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color do local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)" local basedir="$(basename $(dirname "${termfile}"))"