diff options
author | Alexander Bokovoy <ab@samba.org> | 2018-07-03 11:18:05 +0300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2018-09-05 06:37:27 +0200 |
commit | 75d5bcb4d84f697bed5e13569b10a893fe487ff3 (patch) | |
tree | 6cfb4c871680ab87944db3bbf70a3f8d07c72d66 /selftest/wscript | |
parent | 31f8945aa6611160d72b24a0f82c40a2419f1362 (diff) | |
download | samba-75d5bcb4d84f697bed5e13569b10a893fe487ff3.tar.gz |
selftest/wscript: properly handle env.cwd which is a list, not a string
Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'selftest/wscript')
-rw-r--r-- | selftest/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
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' |