Use command sed for people who alias sed.

Fixes #493.
This commit is contained in:
Jordan Harband
2015-01-09 01:50:05 -08:00
parent c6489440dc
commit 3fc82d6b2f
2 changed files with 8 additions and 8 deletions

View File

@@ -45,7 +45,7 @@ nvm_download() {
curl $*
elif nvm_has "wget"; then
# Emulate curl with wget
ARGS=$(echo "$*" | sed -e 's/--progress-bar /--progress=bar /' \
ARGS=$(echo "$*" | command sed -e 's/--progress-bar /--progress=bar /' \
-e 's/-L //' \
-e 's/-I /--server-response /' \
-e 's/-s /-q /' \