-
Notifications
You must be signed in to change notification settings - Fork 227
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
install.sh script has escaping error #3166
Comments
HI @dan-massey - It does seem like your suggestion will work. If I'm not mistaken, the existing code Are you able to install successfully after making this change locally? |
Yes, I made the change in a local copy of the script and successfully installed the CLI. I'm happy to open a PR if it would be helpful/accepted. |
@dan-massey - By all means. Please open a PR. we love our contributors! |
W-17567855 created |
This project is for the Heroku CLI only and issues are reviewed as we are able. If you need more immediate assistance or help with anything not specific to the CLI itself, please use https://help.heroku.com.
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
On an Oracle Linux machine, running the install bash script (
curl https://cli-assets.heroku.com/install.sh | sh
) would show the error "Your path is missing /usr/local/bin, you need to add this to use this installer." even if/usr/local/bin
was available in the currentPATH
.What is the expected behavior?
The install bash script should succeed.
I believe this can be achieved by changing the escaping in the if condition
(instead of
if [[ ! ":\$PATH:" == *":/usr/local/bin:"* ]];
)The text was updated successfully, but these errors were encountered: