diff options
author | Michael Adam <obnox@samba.org> | 2014-06-20 18:08:18 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2014-06-20 23:38:10 +0200 |
commit | 2c50c25d0292b46a8d9afd8ae9283b31a6610865 (patch) | |
tree | de03932be4abe7651dcd7677bf914a3f496a82d3 /lib/replace | |
parent | e2888852ef698319cb538eab4913674a44ab73bb (diff) | |
download | samba-2c50c25d0292b46a8d9afd8ae9283b31a6610865.tar.gz samba-2c50c25d0292b46a8d9afd8ae9283b31a6610865.tar.xz samba-2c50c25d0292b46a8d9afd8ae9283b31a6610865.zip |
replace:build: improve detection of srcdir
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'lib/replace')
-rw-r--r-- | lib/replace/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 22dd1322a2..a7384e8721 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -10,7 +10,7 @@ import sys, os, Utils # 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 |