Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed booleans being treated as strings, resulting in missing node-wa…

…f and npm
  • Loading branch information...
commit 7817f4832271efc51e3d6615d1d2aa8cdb781fa4 1 parent 06a058d
@jwueller jwueller authored TooTallNate committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tools/installer.js
View
4 tools/installer.js
@@ -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'));
Please sign in to comment.
Something went wrong with that request. Please try again.