Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nvm curl libz support #1487

Merged
merged 1 commit into from
Apr 6, 2017

Conversation

PeterDaveHello
Copy link
Collaborator

@PeterDaveHello PeterDaveHello commented Apr 5, 2017

my bad 馃槶
maybe we should consider to enable WITHOUT_CURL test back, what do you think?

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to re-enable those tests; I'm not sure if they'll work or not.

nvm.sh Outdated
@@ -76,7 +76,7 @@ nvm_has_colors() {
}

nvm_curl_libz_support() {
curl -V | grep "^Features:" | grep -q "libz"
curl -V 2>/dev/null | grep "^Features:" | grep -q "libz"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these greps should also probably be prefixed by command

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use nvm_grep now.

@ljharb ljharb force-pushed the fix-nvm_curl_libz_support branch from 519b74c to daa9c36 Compare April 6, 2017 06:41
@ljharb ljharb merged commit daa9c36 into nvm-sh:master Apr 6, 2017
@PeterDaveHello PeterDaveHello deleted the fix-nvm_curl_libz_support branch April 6, 2017 06:45
@PeterDaveHello
Copy link
Collaborator Author

I'd like to re-enable those tests; I'm not sure if they'll work or not.

I tested "WITHOUT_CURL" without this #1487 patch, it'll fail as expected, PR sent in #1489

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants