summaryrefslogtreecommitdiff
path: root/meta/recipes-extended/grep
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2014-08-14 05:05:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-23 09:25:07 +0100
commit6fe82a9ed6c7967aaf25c861400de4a9379e92c6 (patch)
tree3fca081fe507e6df40261c466ebd33815335b4bd /meta/recipes-extended/grep
parent49ee0da024dcb80026b5dc23367e79e0ed80e6aa (diff)
downloadopenembedded-core-6fe82a9ed6c7967aaf25c861400de4a9379e92c6.tar.gz
openembedded-core-6fe82a9ed6c7967aaf25c861400de4a9379e92c6.tar.bz2
openembedded-core-6fe82a9ed6c7967aaf25c861400de4a9379e92c6.zip
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. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/grep')
-rw-r--r--meta/recipes-extended/grep/grep_2.19.bb1
-rw-r--r--meta/recipes-extended/grep/grep_2.5.1a.bb2
2 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-extended/grep/grep_2.19.bb b/meta/recipes-extended/grep/grep_2.19.bb
index f38a9a6171..9c162cca49 100644
--- a/meta/recipes-extended/grep/grep_2.19.bb
+++ b/meta/recipes-extended/grep/grep_2.19.bb
@@ -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"
diff --git a/meta/recipes-extended/grep/grep_2.5.1a.bb b/meta/recipes-extended/grep/grep_2.5.1a.bb
index 79842baac8..1ce112e43d 100644
--- a/meta/recipes-extended/grep/grep_2.5.1a.bb
+++ b/meta/recipes-extended/grep/grep_2.5.1a.bb
@@ -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"