summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--project.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project.py b/project.py
index 06bb693f..3acecd64 100644
--- a/project.py
+++ b/project.py
@@ -3394,7 +3394,8 @@ class Project(object):
3394 # Now that the dir should be empty, clear it out, and symlink it over. 3394 # Now that the dir should be empty, clear it out, and symlink it over.
3395 platform_utils.rmdir(dotgit) 3395 platform_utils.rmdir(dotgit)
3396 platform_utils.symlink( 3396 platform_utils.symlink(
3397 os.path.relpath(gitdir, os.path.dirname(dotgit)), dotgit 3397 os.path.relpath(gitdir, os.path.dirname(os.path.realpath(dotgit))),
3398 dotgit,
3398 ) 3399 )
3399 3400
3400 def _get_symlink_error_message(self): 3401 def _get_symlink_error_message(self):