mirror of https://github.com/nodejs/node.git
Fix broken commit 2cd5adc
parent
2cd5adc28b
commit
38c49fbc4a
|
@ -773,7 +773,7 @@ class BuildContext(Utils.Context):
|
|||
|
||||
try:
|
||||
shutil.copy2(src, tgt)
|
||||
if chmod < 0: os.chmod(tgt, chmod)
|
||||
if chmod >= 0: os.chmod(tgt, chmod)
|
||||
except IOError:
|
||||
try:
|
||||
os.stat(src)
|
||||
|
|
Loading…
Reference in New Issue