summaryrefslogtreecommitdiffstats
path: root/meta/lib
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-06-20 17:39:20 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-23 14:26:16 +0100
commit1960abc96c983daf3a6598c4fa76b5ba3208f7db (patch)
tree3493836274df69c9c0472ac5d9524fb3a7547e26 /meta/lib
parent40268fe27ae41d5c4feae89900c0bc23a6dce72a (diff)
downloadopenembedded-core-contrib-1960abc96c983daf3a6598c4fa76b5ba3208f7db.tar.gz
openembedded-core-contrib-1960abc96c983daf3a6598c4fa76b5ba3208f7db.tar.bz2
openembedded-core-contrib-1960abc96c983daf3a6598c4fa76b5ba3208f7db.zip
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>
Diffstat (limited to 'meta/lib')
-rw-r--r--meta/lib/oeqa/utils/targetbuild.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/utils/targetbuild.py b/meta/lib/oeqa/utils/targetbuild.py
index f0876705da..59593f5ef3 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)