Browse Source

Fix 'make install'

Broken in 45605c because configure does not spit out proper JavaScript.
Needed to change single quotes to double.
v0.7.4-release
Ryan Dahl 13 years ago
parent
commit
b603578b53
  1. 4
      tools/installer.js

4
tools/installer.js

@ -9,6 +9,10 @@ if (cmd !== 'install' && cmd !== 'uninstall') {
process.exit(1);
}
// Python pprint.pprint() uses single quotes instead of double.
// awful.
options = options.replace(/'/gi, '"')
// Parse options file and remove first comment line
options = JSON.parse(options.split('\n').slice(1).join(''));
var variables = options.variables,

Loading…
Cancel
Save