diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-12-20 06:06:19 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-12-20 06:06:21 +0400 |
commit | b603578b536d2799674ec57c4906037be96ed998 (patch) | |
tree | e3088484658c4aadd1b7ad2b22c90344ba81acb7 /tools | |
parent | aac717da8d93e35fc3f8d92c789f8494387ed8a7 (diff) |
Fix 'make install'
Broken in 45605c because configure does not spit out proper JavaScript.
Needed to change single quotes to double.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/installer.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/installer.js b/tools/installer.js index ef2f883a0f9..dfda42b4231 100644 --- a/tools/installer.js +++ b/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, |