From 708ac80a5555b535a0bf3d1be2df6082cfe276da Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 15 Aug 2014 20:21:46 -0700 Subject: [PATCH] Properly replace the -I curl option for the --server-response wget option. --- install.sh | 2 +- nvm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index d7c6261..53459f7 100755 --- a/install.sh +++ b/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 /') diff --git a/nvm.sh b/nvm.sh index fee0758..781f2b5 100644 --- a/nvm.sh +++ b/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 /')