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:48:23 +0000 |
commit | 3d5050d281e9535d1931848fe6c0adb4e7afd629 (patch) | |
tree | a85870f9b0cb824e9494ddd33e8ed0badcb60c5a | |
parent | 82720dd1aa2594cc308130da4db4ff600263ac74 (diff) | |
download | openembedded-core-3d5050d281e9535d1931848fe6c0adb4e7afd629.tar.gz openembedded-core-3d5050d281e9535d1931848fe6c0adb4e7afd629.tar.bz2 openembedded-core-3d5050d281e9535d1931848fe6c0adb4e7afd629.zip |
guile: fix bashism in script
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.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 \ SRC_URI[md5sum] = "3438cd4415c0c43ca93a20e845eba7e2" SRC_URI[sha256sum] = "3ece055145a5020dd36b84f5fbccd4b3846a671960dd5ee55931555f03200950" +PR = "r1" + inherit autotools gettext BBCLASSEXTEND = "native" @@ -45,7 +47,7 @@ export GUILE_FOR_BUILD="${BUILD_SYS}-guile" do_compile_append() { # just for target recipe - if [ "${PN}" == "guile" ] + if [ "${PN}" = "guile" ] then sed -i -e s:${STAGING_DIR_TARGET}::g \ -e s:/${TARGET_SYS}::g \ @@ -71,7 +73,7 @@ SYSROOT_PREPROCESS_FUNCS = "guile_cross_config" guile_cross_config() { # this is only for target recipe - if [ "${PN}" == "guile" ] + if [ "${PN}" = "guile" ] then # Create guile-config returning target values instead of native values install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} |