diff options
Diffstat (limited to 'project.py')
-rw-r--r-- | project.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2347,10 +2347,11 @@ class Project(object): | |||
2347 | if copy_all: | 2347 | if copy_all: |
2348 | to_copy = os.listdir(gitdir) | 2348 | to_copy = os.listdir(gitdir) |
2349 | 2349 | ||
2350 | dotgit = os.path.realpath(dotgit) | ||
2350 | for name in set(to_copy).union(to_symlink): | 2351 | for name in set(to_copy).union(to_symlink): |
2351 | try: | 2352 | try: |
2352 | src = os.path.realpath(os.path.join(gitdir, name)) | 2353 | src = os.path.realpath(os.path.join(gitdir, name)) |
2353 | dst = os.path.realpath(os.path.join(dotgit, name)) | 2354 | dst = os.path.join(dotgit, name) |
2354 | 2355 | ||
2355 | if os.path.lexists(dst): | 2356 | if os.path.lexists(dst): |
2356 | continue | 2357 | continue |