summaryrefslogtreecommitdiff
path: root/scripts/build/www_post.py
diff options
context:
space:
mode:
authorJulien Rioux <jrioux@physics.utoronto.ca>2012-01-19 09:52:13 -0500
committerJulien Rioux <jrioux@physics.utoronto.ca>2012-01-22 14:28:20 -0500
commit817cb71f9189abb8c3743562f9c94439075d1f3b (patch)
treed3a79e0f3486415597b07eae4da5e0997be10857 /scripts/build/www_post.py
parent930dbeff8f5d31faa9654365c8ed84a30e489e83 (diff)
Build: Check if link exists, not if linked file exists.
Diffstat (limited to 'scripts/build/www_post.py')
-rw-r--r--scripts/build/www_post.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/www_post.py b/scripts/build/www_post.py
index 7ec91dd80b..784a978f20 100644
--- a/scripts/build/www_post.py
+++ b/scripts/build/www_post.py
@@ -82,7 +82,7 @@ for t in targets:
for l in symlinks:
p = mirrortree.new_link_path (os.path.normpath (os.readlink (l)), os.path.dirname (l), strip_re)
dest = strip_file_name[t] (l)
- if not os.path.exists (dest):
+ if not os.path.lexists (dest):
os.symlink (p, dest)