summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-29 22:32:03 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:27:17 +1000
commitf0f67ebd2f1605c25c4726d7e5e8c57daf3decbf (patch)
treefee01e2da52669bb50699f2326f3d3e9b30c9ca9 /buildtools/wafsamba
parent874e39cbf00325cb379ddea274ae4288e32f8f72 (diff)
downloadsamba-f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf.tar.gz
samba-f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf.tar.bz2
samba-f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf.zip
build: fixed a configure error with a totally clean tree
Diffstat (limited to 'buildtools/wafsamba')
-rw-r--r--buildtools/wafsamba/wafsamba.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/buildtools/wafsamba/wafsamba.py b/buildtools/wafsamba/wafsamba.py
index 826760c02e..9be10bfdbb 100644
--- a/buildtools/wafsamba/wafsamba.py
+++ b/buildtools/wafsamba/wafsamba.py
@@ -44,7 +44,7 @@ def SAMBA_BUILD_ENV(conf):
mkdir_p(blib_bld + '/man3')
if os.path.islink(blib_src):
os.unlink(blib_src)
- else:
+ elif os.path.exists(blib_src):
shutil.rmtree(blib_src)
os.symlink(blib_bld, blib_src)