From 8839515af3c16da6656fe1937826ffa0ce401061 Mon Sep 17 00:00:00 2001 From: LoveIsGrief Date: Sun, 23 Nov 2014 11:34:16 +0100 Subject: [PATCH] Keep creation of local var consistent definition on one line initialization on another --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index c034e78..f46a3d0 100755 --- a/install.sh +++ b/install.sh @@ -132,7 +132,8 @@ nvm_do_install() { install_nvm_as_script # Copies install.sh dir to installation dir elif [ "~$METHOD" = "~copy" ]; then - local COPY=true + local COPY + COPY=true DIR=`nvm_script_dir` if [ $DIR = $NVM_DIR ]; then echo "=> install.sh is already in $NVM_DIR"