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:
|
try:
|
||||||
shutil.copy2(src, tgt)
|
shutil.copy2(src, tgt)
|
||||||
if chmod < 0: os.chmod(tgt, chmod)
|
if chmod >= 0: os.chmod(tgt, chmod)
|
||||||
except IOError:
|
except IOError:
|
||||||
try:
|
try:
|
||||||
os.stat(src)
|
os.stat(src)
|
||||||
|
|
2
wscript
2
wscript
|
@ -980,7 +980,7 @@ def install_npm(bld):
|
||||||
start_dir.ant_glob('**/*'),
|
start_dir.ant_glob('**/*'),
|
||||||
cwd=start_dir,
|
cwd=start_dir,
|
||||||
relative_trick=True,
|
relative_trick=True,
|
||||||
chmod=0)
|
chmod=-1)
|
||||||
bld.symlink_as('${PREFIX}/bin/npm',
|
bld.symlink_as('${PREFIX}/bin/npm',
|
||||||
'../lib/node_modules/npm/bin/npm-cli.js')
|
'../lib/node_modules/npm/bin/npm-cli.js')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue