From: Richard Purdie Date: Mon, 17 Sep 2007 08:14:16 +0000 (+0000) Subject: devshell.bbclass: Sync with OE since this no longer works at properly without this... X-Git-Tag: 2011-1~10681 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=51d9c76e954bef233c66fba328ffc13a496857fc;p=openembedded-core.git 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 --- diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index 14f957e12b..35456b517b 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass @@ -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