Patchwork [2/2] gzip: set CONFIG_SHELL to /bin/sh

login
register
mail settings
Submitter Robert Yang
Date Aug. 13, 2014, 8:18 a.m.
Message ID <062c027acd03b3847a547fae9c628343e925eb2c.1407917762.git.liezhi.yang@windriver.com>
Download mbox | patch
Permalink /patch/78047/
State Accepted
Commit e06238bfdcab16e358aabd257191ac4ef89696cc
Headers show

Comments

Robert Yang - Aug. 13, 2014, 8:18 a.m.
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>
---
 meta/recipes-extended/gzip/gzip.inc |    2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/recipes-extended/gzip/gzip.inc b/meta/recipes-extended/gzip/gzip.inc
index eeeafe0..671b1eb 100644
--- a/meta/recipes-extended/gzip/gzip.inc
+++ b/meta/recipes-extended/gzip/gzip.inc
@@ -30,3 +30,5 @@  ALTERNATIVE_${PN} = "gunzip gzip zcat"
 ALTERNATIVE_LINK_NAME[gunzip] = "${base_bindir}/gunzip"
 ALTERNATIVE_LINK_NAME[gzip] = "${base_bindir}/gzip"
 ALTERNATIVE_LINK_NAME[zcat] = "${base_bindir}/zcat"
+
+export CONFIG_SHELL="/bin/sh"