aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-12-12 10:29:09 -0800
committerAlon Zakai <alonzakai@gmail.com>2012-12-12 10:29:50 -0800
commitd3dea2406df6c578c98c60664bf04b2304a43d2e (patch)
tree6dea7d2a30ee43fa5a74139de9597be8264b6a2b
parent42b03394eb80db5183d2eb8c2c22b587cd85794e (diff)
keep at least 'node' as the guess for node
-rw-r--r--tools/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 1dec21cd..974e1949 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -92,7 +92,7 @@ else:
node = 'node'
try:
node = Popen(['which', 'node'], stdout=PIPE).communicate()[0].replace('\n', '') or \
- Popen(['which', 'nodejs'], stdout=PIPE).communicate()[0].replace('\n', '')
+ Popen(['which', 'nodejs'], stdout=PIPE).communicate()[0].replace('\n', '') or node
except:
pass
config_file = config_file.replace('{{{ NODE }}}', node)