summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-06-20 18:04:44 +0200
committerKarolin Seeger <kseeger@samba.org>2015-03-15 22:14:08 +0100
commit6640cfa7594c2e3897d2186d5f0345cdeb11d987 (patch)
tree589f57e39fa34898bc4bb0003e9c0a1fdcfb5897
parent8eb3271c0ba4c7225ac8ed48c3e40455c8c55ba4 (diff)
downloadsamba-6640cfa7594c2e3897d2186d5f0345cdeb11d987.tar.gz
talloc:build: improve detection of srcdir
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Amitay Isaacs <amitay@gmail.com> (cherry picked from commit cc86b4107acebf56c7bb17f59dd358615aed57b7)
-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