]> code.ossystems Code Review - openembedded-core.git/commit
terminal.bbclass: use var-SHELL as the shebang of wrapper script
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 24 Aug 2018 08:54:04 +0000 (16:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Aug 2018 09:27:15 +0000 (10:27 +0100)
commit27e2ede65f1193e49f9483b08a55495d88740a65
tree1fa2332b8ed1312ae9ab94eca432e462cc5328da
parent8645c0419456c1bd3ae15a9a7dd2b2e9a960eaf4
terminal.bbclass: use var-SHELL as the shebang of wrapper script

The devshell.bbclass set var-SHELL to var-DEVSHELL, and terminal.bbclass
initial var-SHELL with `bash'. Keep sync with it, use var-SHELL rather
than hardcoded `/bin/sh' as the shebang of wrapper script.

On Ubuntu host, default shell is dash (/bin/sh -> dash), even though
we assign var-SHELL with `/bin/bash', the wrapper script is still dashism.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/terminal.bbclass