mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
remove continue from curl arg. nodejs.org doesnt seems to support continue, CDN effect perhaps?
This commit is contained in:
parent
60892c7b51
commit
a86262520a
2
nvm.sh
2
nvm.sh
@ -122,7 +122,7 @@ nvm()
|
||||
[ ! -z $tarball ] && \
|
||||
mkdir -p "$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" && \
|
||||
cd "node-$VERSION" && \
|
||||
./configure --prefix="$NVM_DIR/$VERSION" && \
|
||||
|
Loading…
Reference in New Issue
Block a user