diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-08-14 05:05:43 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-08-23 09:26:12 +0100 |
commit | a45cb305674c60403ac36b03cd49bd9696e6d435 (patch) | |
tree | 81bc80d677093971c7dce6e8dd876f6367e4fbce /meta/recipes-extended/grep | |
parent | e06238bfdcab16e358aabd257191ac4ef89696cc (diff) | |
download | poky-a45cb305674c60403ac36b03cd49bd9696e6d435.tar.gz |
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>
Diffstat (limited to 'meta/recipes-extended/grep')
-rw-r--r-- | meta/recipes-extended/grep/grep_2.19.bb | 1 | ||||
-rw-r--r-- | meta/recipes-extended/grep/grep_2.5.1a.bb | 2 |
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" | |||
36 | ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" | 36 | ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" |
37 | ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" | 37 | ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" |
38 | 38 | ||
39 | 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" | |||
47 | ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep" | 47 | ALTERNATIVE_LINK_NAME[grep] = "${base_bindir}/grep" |
48 | ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" | 48 | ALTERNATIVE_LINK_NAME[egrep] = "${base_bindir}/egrep" |
49 | ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" | 49 | ALTERNATIVE_LINK_NAME[fgrep] = "${base_bindir}/fgrep" |
50 | |||
51 | export CONFIG_SHELL="/bin/sh" | ||