summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2011-12-17 14:09:14 +0600
committerRyan Dahl <ry@tinyclouds.org>2011-12-17 00:39:04 -0800
commita9f2c4aa307c3dc838d9ecb0fb4e241a42f4f2a1 (patch)
treec9f4326c33e5b83eb9121dd69f6642e45c30fa6c /tools
parente61de70c96bf3f45a836c2b5b280513f71f165f7 (diff)
downloadnode-new-a9f2c4aa307c3dc838d9ecb0fb4e241a42f4f2a1.tar.gz
--without-npm option
Fixes #2353.
Diffstat (limited to 'tools')
-rw-r--r--tools/installer.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/installer.js b/tools/installer.js
index 1adfc8e809..ef2f883a0f 100644
--- a/tools/installer.js
+++ b/tools/installer.js
@@ -95,7 +95,7 @@ if (cmd === 'install') {
copy('out/Release/node', 'bin/node');
// Install npm (eventually)
- if (variables.node_install_npm) {
+ if (variables.node_install_npm == 'true') {
copy('deps/npm', 'lib/node_modules/npm');
queue.push('ln -sF ../lib/node_modules/npm/bin/npm-cli.js ' +
path.join(node_prefix, 'bin/npm'));