diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-12-12 10:29:09 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-12-12 10:29:50 -0800 |
commit | d3dea2406df6c578c98c60664bf04b2304a43d2e (patch) | |
tree | 6dea7d2a30ee43fa5a74139de9597be8264b6a2b | |
parent | 42b03394eb80db5183d2eb8c2c22b587cd85794e (diff) |
keep at least 'node' as the guess for node
-rw-r--r-- | tools/shared.py | 2 |
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) |