Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Cannot install v0.4 #164

Merged
merged 1 commit into from

2 participants

hisanori Tim Caswell
hisanori

node v0.4 source has no SHA check sum file. If it doesn't exist, nvm not only skips checking it but aborts the installation. I fix it.

Tim Caswell creationix merged commit dd3650f into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 26, 2012
  1. fix installation problem about v0.4

    hisanori authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  nvm.sh
2  nvm.sh
View
@@ -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 && \
Something went wrong with that request. Please try again.