mirror of https://github.com/nodejs/node.git
After building overwrite existing ./node(_g)?.exe
parent
0a2f1cb334
commit
d1bf9cf1f8
4
wscript
4
wscript
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue