From e2888852ef698319cb538eab4913674a44ab73bb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 20 Jun 2014 18:05:44 +0200 Subject: [PATCH] ntdb:build: improve detection of srcdir Signed-off-by: Michael Adam Reviewed-by: Amitay Isaacs --- lib/ntdb/wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript index af0358586de..cb2de80b0d3 100644 --- a/lib/ntdb/wscript +++ b/lib/ntdb/wscript @@ -10,7 +10,7 @@ import sys, os # find the buildtools directory srcdir = '.' while not os.path.exists(srcdir+'/buildtools') and len(srcdir.split('/')) < 5: - srcdir = '../' + srcdir + srcdir = srcdir + '/..' sys.path.insert(0, srcdir + '/buildtools/wafsamba') import wafsamba, samba_dist, Options, Logs, glob -- 2.11.4.GIT