git.samba.org
/
metze
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7058a88
)
wafsamba: we should also remove stale symlinks here
author
Björn Jacke
<bj@sernet.de>
Mon, 11 Feb 2019 14:30:24 +0000
(15:30 +0100)
committer
Bjoern Jacke
<bjacke@samba.org>
Sun, 17 Feb 2019 12:33:15 +0000
(13:33 +0100)
Signed-off-by: Bjoern Jacke <bjacke@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
buildtools/wafsamba/wafsamba.py
patch
|
blob
|
history
diff --git
a/buildtools/wafsamba/wafsamba.py
b/buildtools/wafsamba/wafsamba.py
index 70ab736e2a78606133559a81846d7c1baa700c32..1b98e1ceb2c686e71fc0e146784697d446e2412c 100644
(file)
--- a/
buildtools/wafsamba/wafsamba.py
+++ b/
buildtools/wafsamba/wafsamba.py
@@
-740,7
+740,7
@@
def SAMBA_SCRIPT(bld, name, pattern, installdir, installname=None):
link_dst = os.path.join(tgtdir, os.path.basename(iname))
if os.path.islink(link_dst) and os.readlink(link_dst) == link_src:
continue
- if os.path.
exists
(link_dst):
+ if os.path.
islink
(link_dst):
os.unlink(link_dst)
Logs.info("symlink: %s -> %s/%s" % (s, installdir, iname))
symlink(link_src, link_dst)