diff options
| author | Seth Bollinger <seth.boll@gmail.com> | 2013-10-26 09:23:24 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-30 17:33:13 +0000 |
| commit | b8c0b8f78f0010783dc6ba6c4bea337ae09b595a (patch) | |
| tree | 07709cb2021ff8b517988667453e185bad3eab22 /meta/recipes-core/ncurses | |
| parent | 1b8bd9e6122de0e740c137ac9fbe1267dbc9e4c8 (diff) | |
| download | poky-b8c0b8f78f0010783dc6ba6c4bea337ae09b595a.tar.gz | |
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 rev: edd7d53c6149b27d5636a458db91650c8c400612)
Signed-off-by: Seth Bollinger <seth.boll@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/ncurses')
| -rw-r--r-- | meta/recipes-core/ncurses/ncurses.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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() { | |||
| 174 | 174 | ||
| 175 | # include some basic terminfo files | 175 | # include some basic terminfo files |
| 176 | # stolen ;) from gentoo and modified a bit | 176 | # stolen ;) from gentoo and modified a bit |
| 177 | for x in ansi console dumb linux rxvt screen sun vt{52,100,102,200,220} xterm-color xterm-xfree86 xterm-256color | 177 | for x in ansi console dumb linux rxvt screen sun vt52 vt100 vt102 vt200 vt220 xterm-color xterm-xfree86 xterm-256color |
| 178 | do | 178 | do |
| 179 | local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)" | 179 | local termfile="$(find "${D}${datadir}/terminfo/" -name "${x}" 2>/dev/null)" |
| 180 | local basedir="$(basename $(dirname "${termfile}"))" | 180 | local basedir="$(basename $(dirname "${termfile}"))" |
