Browse Source

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

run_slow_tests_on_all_shells
Jordan Harband 10 years ago
parent
commit
708ac80a55
  1. 2
      install.sh
  2. 2
      nvm.sh

2
install.sh

@ -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

@ -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 /')

Loading…
Cancel
Save