diff options
author | Ross Burton <ross.burton@intel.com> | 2012-11-28 17:06:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-03 13:52:08 +0000 |
commit | 48db13e7a5f9416c6aa871389f7b470002d346fa (patch) | |
tree | 5b7b15fead18fa71a122de8c99dfb23ed9c36392 /meta/recipes-devtools | |
parent | 13180a97d6d317a15b278be8c716d22e6a078153 (diff) | |
download | poky-48db13e7a5f9416c6aa871389f7b470002d346fa.tar.gz |
guile: fix bashism in script
(From OE-Core rev: 3d5050d281e9535d1931848fe6c0adb4e7afd629)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/guile/guile_2.0.6.bb | 6 |
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 b5f55af6d1..89fedcbcdc 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 \ | |||
28 | SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2" | 28 | SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2" |
29 | SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950" | 29 | SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950" |
30 | 30 | ||
31 | PR = "r1" | ||
32 | |||
31 | inherit autotools gettext | 33 | inherit autotools gettext |
32 | BBCLASSEXTEND = "native" | 34 | BBCLASSEXTEND = "native" |
33 | 35 | ||
@@ -45,7 +47,7 @@ export GUILE_FOR_BUILD="${BUILD_SYS}-guile" | |||
45 | 47 | ||
46 | do_compile_append() { | 48 | do_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 | ||
72 | guile_cross_config() { | 74 | guile_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} |