changed shasums file url because in v0.8.6 .txt.asc file is not available.

master
Yosiya Hinosawa 2013-01-13 16:13:20 +09:00
parent 184f641730
commit a6be969403
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -230,7 +230,7 @@ nvm()
if [ $binavail -eq 1 ]; then
t="$VERSION-$os-$arch"
url="http://nodejs.org/dist/$VERSION/node-${t}.tar.gz"
sum=`curl -s http://nodejs.org/dist/$VERSION/SHASUMS.txt.asc | grep node-${t}.tar.gz | awk '{print $1}'`
sum=`curl -s http://nodejs.org/dist/$VERSION/SHASUMS.txt | grep node-${t}.tar.gz | awk '{print $1}'`
if (
mkdir -p "$NVM_DIR/bin/node-${t}" && \
cd "$NVM_DIR/bin" && \