aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-01-10 13:31:25 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-01-10 13:31:25 -0800
commit4a472ca90a98b5d1d4084c0a501d6341a8cc2907 (patch)
treecabbd52bb27c3d4449ff90492138b9ea38d27643 /tools
parentb2827e02a2b996e501bf00fe884cd34370dbcca1 (diff)
use NODE_JS when calling coffee and eliminator, to avoid problems with missing system node
Diffstat (limited to 'tools')
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 1d97ff4b..5fdfdfb8 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -632,7 +632,7 @@ class Building:
coffee = path_from_root('tools', 'eliminator', 'node_modules', 'coffee-script', 'bin', 'coffee')
eliminator = path_from_root('tools', 'eliminator', 'eliminator.coffee')
input = open(filename, 'r').read()
- output, err = Popen([coffee, eliminator], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)
+ output, err = Popen([NODE_JS, coffee, eliminator], stdin=PIPE, stdout=PIPE, stderr=PIPE).communicate(input)
assert len(output) > 0, 'Error in eliminator: ' + err + '\n\n' + output
filename += '.el.js'
f = open(filename, 'w')