summaryrefslogtreecommitdiff
path: root/lib/tevent
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-06-20 18:04:13 +0200
committerMichael Adam <obnox@samba.org>2014-06-20 23:38:10 +0200
commitbefb39441f6919624df475c6495e822e5acc42ff (patch)
tree91be192364e9744b4e0ad649472ab8ed7f71c95f /lib/tevent
parent47328f535e35cac5d37dd211745c873130c5a74c (diff)
downloadsamba-befb39441f6919624df475c6495e822e5acc42ff.tar.gz
tevent:build: improve detection of srcdir
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib/tevent')
-rwxr-xr-xlib/tevent/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index bd19780c2a3..8d29e04cf1b 100755
--- a/lib/tevent/wscript
+++ b/lib/tevent/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