Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
Fix 'make install'
Browse files Browse the repository at this point in the history
Broken in 45605c because configure does not spit out proper JavaScript.
Needed to change single quotes to double.
  • Loading branch information
ry committed Dec 20, 2011
1 parent aac717d commit b603578
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/installer.js
Expand Up @@ -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,
Expand Down

0 comments on commit b603578

Please sign in to comment.