Properly replace the -I curl option for the --server-response wget option.
This commit is contained in:
1 parent
d341d5e535
commit
708ac80a55
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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 /')
|
||||
|
||||
Reference in new issue
Block a user