From 70c2345845db9a93acf4e8d9b7973faee7497342 Mon Sep 17 00:00:00 2001 From: Manish Lad Date: Fri, 16 Feb 2018 21:37:07 +0000 Subject: [PATCH] Variable name correction and var assignment change --- install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 8db64a3..e494cfc 100755 --- a/install.sh +++ b/install.sh @@ -25,10 +25,10 @@ fi echo node installed! # Storing how NodeJS is meant to be called -set NODEJS_COMMAND = 'node' -if ! which ${NODE_COMMAND} > /dev/null +NODEJS_COMMAND='node' +if ! which ${NODEJS_COMMAND} > /dev/null then - set NODEJS_COMMAND = 'nodejs' + NODEJS_COMMAND='nodejs' fi if ! which npm > /dev/null