Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fix 'make install'

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 b603578b536d2799674ec57c4906037be96ed998
Showing with 4 additions and 0 deletions.
  1. +4 −0 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,

0 comments on commit b603578

Please sign in to comment.
You can’t perform that action at this time.