Skip to content

Commit dc748b8

Browse files
authored
Merge pull request #7340 from Kojoley/doc-normalize-symlink-target
DOC: Normalize symlink target
2 parents 6771a18 + 7e60788 commit dc748b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/make.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ def all():
178178
" isn't".format(link))
179179
if not os.path.exists(link):
180180
try:
181-
os.symlink(target, link)
181+
os.symlink(os.path.normcase(target), link)
182182
except OSError:
183183
symlink_warnings.append('files copied to {0}'.format(link))
184184
shutil.copytree(os.path.join(link, '..', target), link)

0 commit comments

Comments
 (0)