From bc7dad4849b9cf0430fcdd79874970013ea7ee12 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Fri, 2 Nov 2012 14:56:03 -0700 Subject: [PATCH] external-sourcery-toolchain: forgot to rstrip the trailing newline Signed-off-by: Christopher Larson --- recipes/meta/external-sourcery-toolchain.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/meta/external-sourcery-toolchain.bb b/recipes/meta/external-sourcery-toolchain.bb index c014ca3..2ce6c48 100644 --- a/recipes/meta/external-sourcery-toolchain.bb +++ b/recipes/meta/external-sourcery-toolchain.bb @@ -81,7 +81,7 @@ do_install() { def sysroot_multilib_suffix(d): PATH = d.getVar('PATH', True) cmd = '${CC} -print-sysroot | sed -e "s,^${STAGING_DIR_HOST},,; s,^/,,"' - return oe.path.check_output(bb.data.expand(cmd, d), shell=True, env={'PATH': PATH}) + return oe.path.check_output(bb.data.expand(cmd, d), shell=True, env={'PATH': PATH}).rstrip() FILES_${PN}-dev += "/${@sysroot_multilib_suffix(d)}"