summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2018-02-02 16:34:32 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:24 +0200
commitca5008a49d72ea2078d0b35dc28dfade17fbdbad (patch)
tree54d8ddf68a4a706d2c1ee7b9473a6cfd1ca05576 /testsuite
parent0c423a3a9285497c5ec4fb40142020ff0fbcece5 (diff)
downloadsamba-ca5008a49d72ea2078d0b35dc28dfade17fbdbad.tar.gz
testsuite/headers/wscript_build: update to handle waf 2.0.4
Signed-off-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/headers/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/headers/wscript_build b/testsuite/headers/wscript_build
index 64b10ba6e41..477a977e11b 100644
--- a/testsuite/headers/wscript_build
+++ b/testsuite/headers/wscript_build
@@ -13,7 +13,7 @@ def build_test_headers(task):
f.write('#include "%s"\n' % os.path.normpath(h))
f.close()
-relpath1 = os_path_relpath(bld.srcnode.abspath(), bld.curdir)
+relpath1 = os_path_relpath(bld.srcnode.abspath(), bld.path.abspath())
public_headers = []
for h in bld.env.public_headers_list:
public_headers.append(os.path.join(relpath1, bld.env.build_public_headers, h))