git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc86b41
)
ntdb:build: improve detection of srcdir
author
Michael Adam
<obnox@samba.org>
Fri, 20 Jun 2014 16:05:44 +0000
(18:05 +0200)
committer
Michael Adam
<obnox@samba.org>
Fri, 20 Jun 2014 21:38:10 +0000
(23:38 +0200)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
lib/ntdb/wscript
patch
|
blob
|
history
diff --git
a/lib/ntdb/wscript
b/lib/ntdb/wscript
index af0358586ded08a5415366ece520b4e5147551e2..cb2de80b0d32326ad9cc17025c844f51e854e468 100644
(file)
--- 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