From aa53cd0474be2e58facd887b939cefe730fefff0 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Sun, 11 May 2014 23:00:27 +0800 Subject: [PATCH] Fix install function --- shadowsocks-nodejs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shadowsocks-nodejs.sh b/shadowsocks-nodejs.sh index 04ba8dd..0d14082 100644 --- a/shadowsocks-nodejs.sh +++ b/shadowsocks-nodejs.sh @@ -138,10 +138,10 @@ function install(){ ./configure make && make install fi + cd $cur_dir # Install shadowsocks-Nodejs which npm > /dev/null 2>&1 if [ $? -eq 0 ]; then - cd $cur_dir npm install -g shadowsocks else echo ""