1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

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>
This commit is contained in:
Joshua Lock
2011-02-23 11:59:59 +00:00
committed by Richard Purdie
parent edd64c7e86
commit 6d261a50ba
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -9,7 +9,8 @@ devshell_do_devshell() {
export XAUTHORITY='${XAUTHORITY}'
export TERMWINDOWTITLE="Bitbake Developer Shell"
export EXTRA_OEMAKE='${EXTRA_OEMAKE}'
${TERMCMD}
export SHELLCMDS="bash"
${TERMCMDRUN}
if [ $? -ne 0 ]; then
echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
exit 1
@@ -17,6 +18,5 @@ devshell_do_devshell() {
}
addtask devshell after do_patch
EXPORT_FUNCTIONS do_devshell
+1 -1
View File
@@ -202,7 +202,7 @@ do_menuconfig() {
export DBUS_SESSION_BUS_ADDRESS='${DBUS_SESSION_BUS_ADDRESS}'
export XAUTHORITY='${XAUTHORITY}'
export TERMWINDOWTITLE="${PN} Kernel Configuration"
export SHELLCMDS="make menuconfig"
export SHELLCMDS="bash make menuconfig"
${TERMCMDRUN}
if [ $? -ne 0 ]; then
echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."