From 75d5bcb4d84f697bed5e13569b10a893fe487ff3 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Tue, 3 Jul 2018 11:18:05 +0300 Subject: [PATCH] selftest/wscript: properly handle env.cwd which is a list, not a string Signed-off-by: Alexander Bokovoy Reviewed-by: Andrew Bartlett --- selftest/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selftest/wscript b/selftest/wscript index 2c45e1bf8f7..ce1e117cbdc 100644 --- a/selftest/wscript +++ b/selftest/wscript @@ -202,7 +202,8 @@ def cmd_testonly(opt): # if we are using a system version of ldb then we need to tell it to # load modules from our modules path if env.USING_SYSTEM_LDB: - os.environ['LDB_MODULES_PATH'] = os.path.abspath(os.path.join(env.cwd, 'bin/modules/ldb')) + os.environ['LDB_MODULES_PATH'] = os.path.abspath( + os.path.join(*(env.cwd + ['bin/modules/ldb']))) # tell build system where to find config.h os.environ['CONFIG_H'] = 'bin/default/include/config.h' -- 2.11.4.GIT