Properly replace the -I curl option for the --server-response wget option.

master
Jordan Harband 2014-08-15 20:21:46 -07:00
parent d341d5e535
commit 708ac80a55
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ nvm_download() {
# Emulate curl with wget
ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
-e 's/-L //' \
-e 's/-I //' \
-e 's/-I /--server-response /' \
-e 's/-s /-q /' \
-e 's/-o /-O /' \
-e 's/-C - /-c /')

2
nvm.sh
View File

@ -19,7 +19,7 @@ nvm_download() {
# Emulate curl with wget
ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
-e 's/-L //' \
-e 's/-I //' \
-e 's/-I /--server-response /' \
-e 's/-s /-q /' \
-e 's/-o /-O /' \
-e 's/-C - /-c /')