fix installation problem about v0.4
parent
d6ef9c8893
commit
4ffd4bb34f
2
nvm.sh
2
nvm.sh
|
@ -232,7 +232,7 @@ nvm()
|
||||||
mkdir -p "$NVM_DIR/src" && \
|
mkdir -p "$NVM_DIR/src" && \
|
||||||
cd "$NVM_DIR/src" && \
|
cd "$NVM_DIR/src" && \
|
||||||
curl --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
|
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" && \
|
tar -xzf "node-$VERSION.tar.gz" && \
|
||||||
cd "node-$VERSION" && \
|
cd "node-$VERSION" && \
|
||||||
./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \
|
./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \
|
||||||
|
|
Loading…
Reference in New Issue