Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Check if node.js is installed properly first and then check if it's i…
…nstalled incorrectly.
  • Loading branch information
pmurias committed Feb 23, 2015
1 parent 042dab4 commit 7a15dd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lib/NQP/Configure.pm
Expand Up @@ -502,7 +502,7 @@ sub github_url {
sub probe_node {
# Debian ships a 'node' binary that is related to amateur radio.
# the javascript thingy is called 'nodejs' there
for my $binary (qw/nodejs node/) {
for my $binary (qw/node nodejs /) {
my $version_str = qx/$binary -v 2>&1/;
if ($version_str =~ /^v\d/) {
return $binary;
Expand Down

0 comments on commit 7a15dd2

Please sign in to comment.