[oe-commits] Robert Yang : grep: set CONFIG_SHELL to /bin/sh

git at git.openembedded.org git at git.openembedded.org
Thu Aug 21 08:02:44 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: 558659cce30b344a51cacbb8b4edab23cd3f90e2
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=558659cce30b344a51cacbb8b4edab23cd3f90e2

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Thu Aug 14 05:05:43 2014 -0700

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 at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-extended/grep/grep_2.19.bb   | 1 +
 meta/recipes-extended/grep/grep_2.5.1a.bb | 2 ++
 2 files changed, 3 insertions(+)

diff --git a/meta/recipes-extended/grep/grep_2.19.bb b/meta/recipes-extended/grep/grep_2.19.bb
index f38a9a6..9c162cc 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 79842ba..1ce112e 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"



More information about the Openembedded-commits mailing list