Merge pull request #164 from paulownia/fix_for_v0.4

Cannot install v0.4
master
Tim Caswell 2012-10-27 20:28:41 -07:00
commit dd3650fc8f
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -232,7 +232,7 @@ nvm()
mkdir -p "$NVM_DIR/src" && \
cd "$NVM_DIR/src" && \
curl --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
if [ "$sum" = "" ]; then return 0; else nvm_checksum `shasum node-$VERSION.tar.gz | awk '{print $1}'` $sum; fi && \
if [ "$sum" = "" ]; then : ; else nvm_checksum `shasum node-$VERSION.tar.gz | awk '{print $1}'` $sum; fi && \
tar -xzf "node-$VERSION.tar.gz" && \
cd "node-$VERSION" && \
./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \