Skip to content
Snippets Groups Projects
Commit e2d43105 authored by Joel Maher's avatar Joel Maher
Browse files

Bug 1729726 - fix issue on windows where symlink doesn't work....

Bug 1729726 - fix issue on windows where symlink doesn't work. r=perftest-reviewers,AlexandruIonescu

Differential Revision: https://phabricator.services.mozilla.com/D124927
parent ccbaec66
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ class RaptorRunner(MozbuildObject): ...@@ -135,7 +135,7 @@ class RaptorRunner(MozbuildObject):
if not os.path.isdir(path) or name.startswith("."): if not os.path.isdir(path) or name.startswith("."):
continue continue
if hasattr(os, "symlink"): if hasattr(os, "symlink") and os.name != "nt":
if not os.path.exists(dest): if not os.path.exists(dest):
os.symlink(path, dest) os.symlink(path, dest)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment