summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/ldb/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldb/wscript b/lib/ldb/wscript
index 5621b38e347..ba75d675d89 100755
--- a/lib/ldb/wscript
+++ b/lib/ldb/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