Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Comments

Fix nvm curl libz support#1487

Merged
ljharb merged 1 commit intonvm-sh:masterfrom
PeterDaveHello:fix-nvm_curl_libz_support
Apr 6, 2017
Merged

Fix nvm curl libz support#1487
ljharb merged 1 commit intonvm-sh:masterfrom
PeterDaveHello:fix-nvm_curl_libz_support

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

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.

@PeterDaveHello PeterDaveHello force-pushed the fix-nvm_curl_libz_support branch from 6ae43d9 to 519b74c Compare April 6, 2017 06:19
@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.

2 participants