summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/guile
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-02-24 12:57:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-04 23:18:20 +0000
commit0808926dc297cc45427165feddb2b6568f089bd1 (patch)
tree78acd588d49215985647b10d8a1a684665887bab /meta/recipes-devtools/guile
parentc7d8f854a348347215da217ff84c8ffdbb6aea9a (diff)
downloadpoky-0808926dc297cc45427165feddb2b6568f089bd1.tar.gz
guile: fix a bashism
A following flaw was detected by verify-bashisms script: ...... meta/recipes-devtools/guile/guile_2.0.13.bb possible bashism in guile_cross_config line 94 ($'...' should be "$(printf '...')"): echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \ > ${B}/guile-config.cross ...... Fixed by removing $'...' from echo command, using a printf instead. (From OE-Core rev: 7b73fbc64fe087098b9d1744aeb781eede355f12) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/guile')
-rw-r--r--meta/recipes-devtools/guile/guile_2.0.14.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/guile/guile_2.0.14.bb b/meta/recipes-devtools/guile/guile_2.0.14.bb
index e0350e4aa4..d2306e6a75 100644
--- a/meta/recipes-devtools/guile/guile_2.0.14.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.14.bb
@@ -90,7 +90,7 @@ guile_cross_config() {
90 then 90 then
91 # Create guile-config returning target values instead of native values 91 # Create guile-config returning target values instead of native values
92 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS} 92 install -d ${SYSROOT_DESTDIR}${STAGING_BINDIR_CROSS}
93 echo '#!'`which ${BUILD_SYS}-guile`$' \\\n--no-auto-compile -e main -s\n!#\n(define %guile-build-info '\'\( \ 93 printf '#!%s \\\n--no-auto-compile -e main -s\n!#\n(define %%guile-build-info %s(\n' $(which ${BUILD_SYS}-guile) "'" \
94 > ${B}/guile-config.cross 94 > ${B}/guile-config.cross
95 sed -n -e 's:^[ \t]*{[ \t]*": (:' \ 95 sed -n -e 's:^[ \t]*{[ \t]*": (:' \
96 -e 's:",[ \t]*": . ":' \ 96 -e 's:",[ \t]*": . ":' \