Index: tool/browser_test.sh |
diff --git a/tool/browser_test.sh b/tool/browser_test.sh |
index 6827e3e3fce969b9665215be60450de5e3e2c3d3..ffef3712348803b263cf76b9b7e218596d9d5cf7 100755 |
--- a/tool/browser_test.sh |
+++ b/tool/browser_test.sh |
@@ -1,7 +1,7 @@ |
#!/bin/bash |
# Check that node exists and refers to nodejs |
-checknodejs=$(hash node 2> /dev/null && node --help | grep nodejs) |
+checknodejs=$(hash node 2> /dev/null && node --help | grep js) |
if [[ $? -ne 0 ]]; then |
echo 'NodeJS (node) is not properly installed' |
echo 'Note, on Ubuntu / Debian, you may need to also install:' |