Used move instead of copytree since copy loses symlinks

This commit is contained in:
Xinyu Hou 2014-11-05 14:53:39 +00:00
parent d347cbd45f
commit 060d8da671
1 changed files with 1 additions and 1 deletions

View File

@ -1314,7 +1314,7 @@ class InternalCommands:
shutil.rmtree(dist)
os.makedirs(dist)
shutil.copytree(dir + "/" + name + ".app", dist + "/" + name + ".app")
shutil.move(dir + "/" + name + ".app", dist + "/" + name + ".app")
self.try_chdir(dist)
err = os.system("ln -s /Applications")