diff options
| author | Michael Adam <obnox@samba.org> | 2014-06-20 18:05:44 +0200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:10 +0200 |
| commit | e2888852ef698319cb538eab4913674a44ab73bb (patch) | |
| tree | 780a3eafa35af566714f08f010273fd386ae643a /lib/ntdb/wscript | |
| parent | cc86b4107acebf56c7bb17f59dd358615aed57b7 (diff) | |
| download | samba-e2888852ef698319cb538eab4913674a44ab73bb.tar.gz samba-e2888852ef698319cb538eab4913674a44ab73bb.tar.xz samba-e2888852ef698319cb538eab4913674a44ab73bb.zip | |
ntdb:build: improve detection of srcdir
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib/ntdb/wscript')
| -rw-r--r-- | lib/ntdb/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ntdb/wscript b/lib/ntdb/wscript index af0358586d..cb2de80b0d 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 |
