Skip to content

Commit

Permalink
fixed booleans being treated as strings, resulting in missing node-wa…
Browse files Browse the repository at this point in the history
…f and npm
  • Loading branch information
jwueller authored and TooTallNate committed Mar 21, 2012
1 parent 06a058d commit 7817f48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/installer.js
Expand Up @@ -118,13 +118,13 @@ if (cmd === 'install') {
copy('out/Release/node', 'bin/node');

// Install node-waf
if (variables.node_install_waf == 'true') {
if (variables.node_install_waf) {
copy('tools/wafadmin', 'lib/node/');
copy('tools/node-waf', 'bin/node-waf');
}

// Install npm (eventually)
if (variables.node_install_npm == 'true') {
if (variables.node_install_npm) {
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'));
Expand Down

0 comments on commit 7817f48

Please sign in to comment.