diff options
author | Joshua Lock <josh@linux.intel.com> | 2011-02-23 11:59:59 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-24 15:54:09 +0000 |
commit | 6d261a50bac760b55e33c303e9f3f2214338eb4f (patch) | |
tree | 739172eeab32b3963fa7e54815694a0e3f1a9f0f /meta/classes/devshell.bbclass | |
parent | edd64c7e864cfe68d01a410a021d6bb1d7cf2c27 (diff) | |
download | poky-6d261a50bac760b55e33c303e9f3f2214338eb4f.tar.gz |
Ensure Bash is used when spawning terminals
We rely on Bashisms when spawning a terminal so ensure that bash is used
when using devshell and menuconfig.
Fixes [BUGID #119]
Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/classes/devshell.bbclass')
-rw-r--r-- | meta/classes/devshell.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index 4fb3e63d21..5f262f426e 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass | |||
@@ -9,7 +9,8 @@ devshell_do_devshell() { | |||
9 | export XAUTHORITY='${XAUTHORITY}' | 9 | export XAUTHORITY='${XAUTHORITY}' |
10 | export TERMWINDOWTITLE="Bitbake Developer Shell" | 10 | export TERMWINDOWTITLE="Bitbake Developer Shell" |
11 | export EXTRA_OEMAKE='${EXTRA_OEMAKE}' | 11 | export EXTRA_OEMAKE='${EXTRA_OEMAKE}' |
12 | ${TERMCMD} | 12 | export SHELLCMDS="bash" |
13 | ${TERMCMDRUN} | ||
13 | if [ $? -ne 0 ]; then | 14 | if [ $? -ne 0 ]; then |
14 | echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." | 15 | echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable." |
15 | exit 1 | 16 | exit 1 |
@@ -17,6 +18,5 @@ devshell_do_devshell() { | |||
17 | } | 18 | } |
18 | addtask devshell after do_patch | 19 | addtask devshell after do_patch |
19 | 20 | ||
20 | |||
21 | EXPORT_FUNCTIONS do_devshell | 21 | EXPORT_FUNCTIONS do_devshell |
22 | 22 | ||