From 060d8da671dddfc021f52569e18805cd1e679ad2 Mon Sep 17 00:00:00 2001 From: Xinyu Hou Date: Wed, 5 Nov 2014 14:53:39 +0000 Subject: [PATCH] Used move instead of copytree since copy loses symlinks --- ext/toolchain/commands1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index 2d3495f5..c621bc4c 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -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")