diff --git a/ext/toolchain/commands1.py b/ext/toolchain/commands1.py index 1dd15f65..bc260944 100644 --- a/ext/toolchain/commands1.py +++ b/ext/toolchain/commands1.py @@ -795,8 +795,10 @@ class InternalCommands: os.symlink(source, target) def move(self, source, target): - print 'move: ', source,'-->', target - shutil.move(source, target) + if os.path.exists(source): + if not os.path.exists(target): + print 'move: ', source,'-->', target + shutil.move(source, target) def macPostMake(self, target):