After building overwrite existing ./node(_g)?.exe

v0.7.4-release
Bert Belder 2010-12-06 13:46:49 +01:00
parent 0a2f1cb334
commit d1bf9cf1f8
1 changed files with 2 additions and 2 deletions

View File

@ -725,9 +725,9 @@ def shutdown():
elif not Options.commands['clean']:
if sys.platform.startswith("win32"):
if os.path.exists('build/default/node.exe') and not os.path.exists('node.exe'):
if os.path.exists('build/default/node.exe'):
os.system('cp build/default/node.exe .')
if os.path.exists('build/debug/node_g.exe') and not os.path.exists('node_g.exe'):
if os.path.exists('build/debug/node_g.exe'):
os.system('cp build/debug/node_g.exe .')
else:
if os.path.exists('build/default/node') and not os.path.exists('node'):