Skip to content

Commit

Permalink
Merge pull request #929 from GMOD/nodejs-script-fix
Browse files Browse the repository at this point in the history
fixes case where nodejs exists, but node is not
  • Loading branch information
nathandunn committed Mar 10, 2016
2 parents 15dcb05 + 3b089f1 commit 20645a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apollo
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function check_node(){
node_executable=$(which node)
if ! [ -x "$node_executable" ] ; then
nodejs_executable=$(which nodejs)
if ! [ -x "$node_executable" ] ; then
if ! [ -x "$nodejs_executable" ] ; then
echo "You must install 'Node JS' to do a release of Apollo."
exit 1 ;
else
Expand Down

0 comments on commit 20645a0

Please sign in to comment.