[gnome-continuous-yocto/gnomeostree-3.28-rocko: 1053/8267] oeqa/targetbuild: use os.path.join instead of string concatenation
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 1053/8267] oeqa/targetbuild: use os.path.join instead of string concatenation
- Date: Sat, 16 Dec 2017 21:17:19 +0000 (UTC)
commit 1960abc96c983daf3a6598c4fa76b5ba3208f7db
Author: Ross Burton <ross burton intel com>
Date: Mon Jun 20 17:39:20 2016 +0100
oeqa/targetbuild: use os.path.join instead of string concatenation
(From OE-Core rev: 1d40f6e3d85d0cd3be6dd784677686ed4dec89c4)
Signed-off-by: Ross Burton <ross burton intel com>
Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>
meta/lib/oeqa/utils/targetbuild.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index f087670..59593f5 100644
--- a/meta/lib/oeqa/utils/targetbuild.py
+++ b/meta/lib/oeqa/utils/targetbuild.py
@@ -117,7 +117,7 @@ class SDKBuildProject(BuildProject):
subprocess.check_call(cmd, shell=True)
#Change targetdir to project folder
- self.targetdir = self.targetdir + self.fname
+ self.targetdir = os.path.join(self.targetdir, self.fname)
def run_configure(self, configure_args='', extra_cmds=' gnu-configize; '):
return super(SDKBuildProject, self).run_configure(configure_args=(configure_args or
'$CONFIGURE_FLAGS'), extra_cmds=extra_cmds)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]