mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
grep: set CONFIG_SHELL to /bin/sh
It would be bash, sh, ksh or sh5 according to the host if we don't set this, and its scripts don't have bashism as the checkbashisms shows. (From OE-Core rev: 6fe82a9ed6c7967aaf25c861400de4a9379e92c6) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e06238bfdc
commit
a45cb30567
@@ -36,3 +36,4 @@ ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep"
|
||||
ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep"
|
||||
ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep"
|
||||
|
||||
export CONFIG_SHELL="/bin/sh"
|
||||
|
||||
@@ -47,3 +47,5 @@ ALTERNATIVE_${PN} = "grep egrep fgrep"
|
||||
ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep"
|
||||
ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep"
|
||||
ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep"
|
||||
|
||||
export CONFIG_SHELL="/bin/sh"
|
||||
|
||||
Reference in New Issue
Block a user