]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/build/www_post.py
Build: Check if link exists, not if linked file exists.
[lilypond.git] / scripts / build / www_post.py
index 7ec91dd80bc27bb2bff6c41c90aba3247af916a5..784a978f20dafc9ffbaa22488caaf1b7451fbf2f 100644 (file)
@@ -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)