[installing] echo the URL that the tarball is being downloaded from.
parent
41153e207d
commit
20f4acdd25
3
nvm.sh
3
nvm.sh
|
@ -1011,6 +1011,7 @@ nvm_install_merged_node_binary() {
|
||||||
tmptarball="$tmpdir/node-${t}.tar.gz"
|
tmptarball="$tmpdir/node-${t}.tar.gz"
|
||||||
local NVM_INSTALL_ERRORED
|
local NVM_INSTALL_ERRORED
|
||||||
command mkdir -p "$tmpdir" && \
|
command mkdir -p "$tmpdir" && \
|
||||||
|
echo "Downloading $url..." && \
|
||||||
nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \
|
nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \
|
||||||
NVM_INSTALL_ERRORED=true
|
NVM_INSTALL_ERRORED=true
|
||||||
if grep '404 Not Found' "$tmptarball" >/dev/null; then
|
if grep '404 Not Found' "$tmptarball" >/dev/null; then
|
||||||
|
@ -1077,6 +1078,7 @@ nvm_install_iojs_binary() {
|
||||||
tmptarball="$tmpdir/iojs-${t}.tar.gz"
|
tmptarball="$tmpdir/iojs-${t}.tar.gz"
|
||||||
local NVM_INSTALL_ERRORED
|
local NVM_INSTALL_ERRORED
|
||||||
command mkdir -p "$tmpdir" && \
|
command mkdir -p "$tmpdir" && \
|
||||||
|
echo "Downloading $url..." && \
|
||||||
nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \
|
nvm_download -L -C - --progress-bar $url -o "$tmptarball" || \
|
||||||
NVM_INSTALL_ERRORED=true
|
NVM_INSTALL_ERRORED=true
|
||||||
if grep '404 Not Found' "$tmptarball" >/dev/null; then
|
if grep '404 Not Found' "$tmptarball" >/dev/null; then
|
||||||
|
@ -1209,6 +1211,7 @@ nvm_install_node_source() {
|
||||||
if (
|
if (
|
||||||
[ -n "$tarball" ] && \
|
[ -n "$tarball" ] && \
|
||||||
command mkdir -p "$tmpdir" && \
|
command mkdir -p "$tmpdir" && \
|
||||||
|
echo "Downloading $tarball..." && \
|
||||||
nvm_download -L --progress-bar $tarball -o "$tmptarball" && \
|
nvm_download -L --progress-bar $tarball -o "$tmptarball" && \
|
||||||
nvm_checksum "$tmptarball" $sum && \
|
nvm_checksum "$tmptarball" $sum && \
|
||||||
command tar -xzf "$tmptarball" -C "$tmpdir" && \
|
command tar -xzf "$tmptarball" -C "$tmpdir" && \
|
||||||
|
|
Loading…
Reference in New Issue