remove continue from curl arg. nodejs.org doesnt seems to support continue, CDN effect perhaps?
parent
60892c7b51
commit
a86262520a
2
nvm.sh
2
nvm.sh
|
@ -122,7 +122,7 @@ nvm()
|
||||||
[ ! -z $tarball ] && \
|
[ ! -z $tarball ] && \
|
||||||
mkdir -p "$NVM_DIR/src" && \
|
mkdir -p "$NVM_DIR/src" && \
|
||||||
cd "$NVM_DIR/src" && \
|
cd "$NVM_DIR/src" && \
|
||||||
curl -C - --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
|
curl --progress-bar $tarball -o "node-$VERSION.tar.gz" && \
|
||||||
tar -xzf "node-$VERSION.tar.gz" && \
|
tar -xzf "node-$VERSION.tar.gz" && \
|
||||||
cd "node-$VERSION" && \
|
cd "node-$VERSION" && \
|
||||||
./configure --prefix="$NVM_DIR/$VERSION" && \
|
./configure --prefix="$NVM_DIR/$VERSION" && \
|
||||||
|
|
Loading…
Reference in New Issue