Merge pull request #106 from ghost/master
nodejs.org doesnt seem to support resuming partial downloadsmaster
commit
b73f0930cc
2
nvm.sh
2
nvm.sh
|
@ -215,7 +215,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" $ADDITIONAL_PARAMETERS && \
|
./configure --prefix="$NVM_DIR/$VERSION" $ADDITIONAL_PARAMETERS && \
|
||||||
|
|
Loading…
Reference in New Issue