]> code.ossystems Code Review - openembedded-core.git/commitdiff
grep: set CONFIG_SHELL to /bin/sh
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 14 Aug 2014 12:05:43 +0000 (05:05 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 23 Aug 2014 08:25:07 +0000 (09:25 +0100)
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>
meta/recipes-extended/grep/grep_2.19.bb
meta/recipes-extended/grep/grep_2.5.1a.bb

index f38a9a617155f8e236fc13a7d0f43ee9f27c1701..9c162cca49c6c2dbaabe0f66b2c782d879974a3c 100644 (file)
@@ -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"
index 79842baac827192e360b7b5b9a338c324780ac8d..1ce112e43df19dbea734149990193200c204a9b3 100644 (file)
@@ -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"