]> code.ossystems Code Review - openembedded-core.git/commitdiff
ncurses-terminfo: Remove bashism from basic terminfo installation
authorSeth Bollinger <seth.boll@gmail.com>
Sat, 26 Oct 2013 14:23:24 +0000 (09:23 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 Oct 2013 17:33:06 +0000 (17:33 +0000)
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.

Signed-off-by: Seth Bollinger <seth.boll@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/ncurses/ncurses.inc

index 671daf89ec917cb34aa22b5b022a36f1886b9267..01cdf132daccf9ec809e7b42c963875cc50907c3 100644 (file)
@@ -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}"))"