diff options
author | Michael Adam <obnox@samba.org> | 2014-06-20 18:04:44 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2015-03-15 22:14:08 +0100 |
commit | 6640cfa7594c2e3897d2186d5f0345cdeb11d987 (patch) | |
tree | 589f57e39fa34898bc4bb0003e9c0a1fdcfb5897 | |
parent | 8eb3271c0ba4c7225ac8ed48c3e40455c8c55ba4 (diff) | |
download | samba-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/wscript | 2 |
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 |