Patchwork guile: fix bashism in script

login
register
mail settings
Submitter Ross Burton
Date Nov. 28, 2012, 5:05 p.m.
Message ID <1354122304-23877-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/39809/
State New
Headers show

Comments

Ross Burton - Nov. 28, 2012, 5:05 p.m.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/recipes-devtools/guile/guile_2.0.6.bb |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/guile/guile_2.0.6.bb b/meta/recipes-devtools/guile/guile_2.0.6.bb
index b5f55af..1f39e25 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"
 
@@ -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}