summaryrefslogtreecommitdiff
path: root/classes/devshell.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'classes/devshell.bbclass')
-rw-r--r--classes/devshell.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/classes/devshell.bbclass b/classes/devshell.bbclass
index 06152ef8bc..09ce100fc4 100644
--- a/classes/devshell.bbclass
+++ b/classes/devshell.bbclass
@@ -6,6 +6,10 @@ do_devshell[nostamp] = "1"
devshell_do_devshell() {
export TERMWINDOWTITLE="Bitbake Developer Shell"
${TERMCMD}
+ if [ $? -eq 127 ]; then
+ echo "Fatal: '${TERMCMD}' not found. Check TERMCMD variable."
+ exit 1
+ fi
}
addtask devshell after do_patch