devshell.bbclass: Sync with OE since this no longer works at properly without this change

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2738 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-09-17 08:14:16 +00:00
parent 2129b596fa
commit 51d9c76e95
1 changed files with 7 additions and 2 deletions

View File

@ -2,9 +2,14 @@ EXTRA_OEMAKE[export] = "1"
do_devshell[dirs] = "${S}"
do_devshell[nostamp] = "1"
do_devshell[interactive] = "1"
devshell_do_devshell() {
bash -i
export TERMWINDOWTITLE="Bitbake Developer Shell"
${TERMCMD}
if [ $? -ne 0 ]; then
echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
exit 1
fi
}
addtask devshell after do_patch