From ca43ca21f576fead7018f749b42bab31b3b1a743 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 18 Jul 2014 13:18:09 -0700 Subject: [PATCH] Fix curl/wget detection. Fixes #478 --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 1197059995..538922bb4f 100644 --- a/nvm.sh +++ b/nvm.sh @@ -317,7 +317,7 @@ nvm() { version_not_provided=0 local provided_version - if ! nvm_has "nvm_download"; then + if ! nvm_has "curl" && ! nvm_has "wget"; then echo 'nvm needs curl or wget to proceed.' >&2; return 1 fi