From f0f67ebd2f1605c25c4726d7e5e8c57daf3decbf Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 29 Mar 2010 22:32:03 +1100 Subject: build: fixed a configure error with a totally clean tree --- buildtools/wafsamba/wafsamba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit