Properly replace the -I curl option for the --server-response wget option.
parent
d341d5e535
commit
708ac80a55
|
@ -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 /')
|
||||
|
|
Loading…
Reference in New Issue