summaryrefslogtreecommitdiff
path: root/lib/talloc/wscript
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-06-20 18:04:44 +0200
committerMichael Adam <obnox@samba.org>2014-06-20 23:38:10 +0200
commitcc86b4107acebf56c7bb17f59dd358615aed57b7 (patch)
tree629675a850a6a2e0fba858c837d8b1e9bb759761 /lib/talloc/wscript
parentbefb39441f6919624df475c6495e822e5acc42ff (diff)
downloadsamba-cc86b4107acebf56c7bb17f59dd358615aed57b7.tar.gz
talloc:build: improve detection of srcdir
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib/talloc/wscript')
-rw-r--r--lib/talloc/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/talloc/wscript b/lib/talloc/wscript
index 9df64d995d8..986492ccde8 100644
--- a/lib/talloc/wscript
+++ b/lib/talloc/wscript
@@ -12,7 +12,7 @@ import os, sys
# 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 sys