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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update binscripts/rvm-installer #5148

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Update binscripts/rvm-installer #5148

wants to merge 2 commits into from

Conversation

tranch
Copy link

@tranch tranch commented Nov 7, 2021

Add -q option to curl flags to avoid user custom definitions in .curlrc
file.

In some cases, user-defined configuration such as: -w "\n" will cause
the asc signature file to be changed and cannot be verified.

Chauncey and others added 2 commits November 8, 2021 01:01
Add -q option to curl flags to avoid user custom definitions in .curlrc
file.

In some cases, user-defined configuration such as: -w "\n" will cause
the asc signature file to be changed and cannot be verified.
@@ -205,7 +205,7 @@ __rvm_curl()
}

typeset -a __flags
__flags=( --fail --location --max-redirs 10 )
__flags=( -q --fail --location --max-redirs 10 )
Copy link
Member

Choose a reason for hiding this comment

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

I would rather go with:

Suggested change
__flags=( -q --fail --location --max-redirs 10 )
__flags=( $RVM_CURL_FLAGS --fail --location --max-redirs 10 )

this way you can overwrite any setting you like, but in most cases the .curlrc will be what users need like proxies, in case users have some nonstandard settings they can overwrite it.

@pkuczynski pkuczynski added this to the rvm-1.29.13 milestone Feb 21, 2023
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

4 participants