From ad7c98414ad1f37f96bdc5130f138e8ed0aa52cf Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Tue, 4 Feb 2025 14:03:35 -0800 Subject: [PATCH] libz --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index c5192cb..320ee6a 100755 --- a/nvm.sh +++ b/nvm.sh @@ -85,7 +85,7 @@ nvm_has_colors() { } nvm_curl_libz_support() { - curl -V 2>/dev/null | nvm_grep "^Features:" | nvm_grep -q "libz" + curl -V 2>/dev/null | command awk '/^Features:.*libz/ { found=1; exit } END { exit (found ? 0 : 1) }' } nvm_curl_use_compression() {