Browse Source

build: fix npm-cli.js install

v0.7.4-release
Ben Noordhuis 13 years ago
parent
commit
e21643d618
  1. 2
      tools/installer.js

2
tools/installer.js

@ -101,7 +101,7 @@ if (cmd === 'install') {
// Install npm (eventually) // Install npm (eventually)
if (variables.node_install_npm == 'true') { if (variables.node_install_npm == 'true') {
copy('deps/npm', 'lib/node_modules/npm'); copy('deps/npm', 'lib/node_modules/npm');
queue.push('ln -sF ../lib/node_modules/npm/bin/npm-cli.js ' + queue.push('ln -sf ../lib/node_modules/npm/bin/npm-cli.js ' +
path.join(node_prefix, 'bin/npm')); path.join(node_prefix, 'bin/npm'));
} }
} else { } else {

Loading…
Cancel
Save