diff options
author | Ross Burton <ross.burton@intel.com> | 2016-06-20 17:39:20 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-06-23 14:23:31 +0100 |
commit | 1d40f6e3d85d0cd3be6dd784677686ed4dec89c4 (patch) | |
tree | 7ac8d9e2041d0796674c02a6687158cd6eeec4d1 /meta/lib/oeqa/utils | |
parent | 7096f2889f1623ce97a6696f6f4c7217f0efb972 (diff) | |
download | openembedded-core-1d40f6e3d85d0cd3be6dd784677686ed4dec89c4.tar.gz openembedded-core-1d40f6e3d85d0cd3be6dd784677686ed4dec89c4.tar.bz2 openembedded-core-1d40f6e3d85d0cd3be6dd784677686ed4dec89c4.zip |
oeqa/targetbuild: use os.path.join instead of string concatenation
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/utils')
-rw-r--r-- | 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 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) |