Closed
Description
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 current PATH
.
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
if [[ ! ":$PATH:" == *":/usr/local/bin:"* ]]; then
(instead of if [[ ! ":\$PATH:" == *":/usr/local/bin:"* ]];
)