summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-11-28 17:06:53 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-13 15:21:43 (GMT)
commit1c4372217d94c7858e5f058f5390922ffb60cda2 (patch)
tree680d3ce10af60d7340aa7c84e21285a9fe660186
parent13b98f209ba447d6c5fc4ffc3f0f0264c5360d86 (diff)
downloadpoky-1c4372217d94c7858e5f058f5390922ffb60cda2.tar.gz
guile: fix bashism in script
(From OE-Core rev: e206443c132ee94227580fad16b16332007aec42) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.6.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.6.bb b/meta/recipes-devtools/guile/guile_2.0.6.bb
index a9df4f7..a5205d1 100644
--- a/meta/recipes-devtools/guile/guile_2.0.6.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.6.bb
@@ -28,6 +28,8 @@ SRC_URI = "${GNU_MIRROR}/guile/guile-${PV}.tar.gz \
28SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2" 28SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2"
29SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950" 29SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950"
30 30
31PR = "r1"
32
31inherit autotools gettext 33inherit autotools gettext
32BBCLASSEXTEND = "native" 34BBCLASSEXTEND = "native"
33 35
@@ -45,7 +47,7 @@ export GUILE_FOR_BUILD="${BUILD_SYS}-guile"
45 47
46do_compile_append() { 48do_compile_append() {
47 # just for target recipe 49 # just for target recipe
48 if [ "${PN}" == "guile" ] 50 if [ "${PN}" = "guile" ]
49 then 51 then
50 sed -i -e s:${STAGING_DIR_TARGET}::g \ 52 sed -i -e s:${STAGING_DIR_TARGET}::g \
51 -e s:/${TARGET_SYS}::g \ 53 -e s:/${TARGET_SYS}::g \
@@ -71,7 +73,7 @@ SYSROOT_PREPROCESS_FUNCS = "guile_cross_config"
71 73
72guile_cross_config() { 74guile_cross_config() {
73 # this is only for target recipe 75 # this is only for target recipe
74 if [ "${PN}" == "guile" ] 76 if [ "${PN}" = "guile" ]
75 then 77 then
76 # Create guile-config returning target values instead of native values 78 # Create guile-config returning target values instead of native values
77 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} 79 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}