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

Install script ignores BIN_DIR if cargo is installed #554

Closed
dnebauer opened this issue May 20, 2021 · 1 comment · Fixed by #566
Closed

Install script ignores BIN_DIR if cargo is installed #554

dnebauer opened this issue May 20, 2021 · 1 comment · Fixed by #566
Labels
bug Something isn't working

Comments

@dnebauer
Copy link

The install script method provides the following install command:

BIN_DIR=/usr/local/bin bash <(curl -sL https://raw.githubusercontent.com/denisidoro/navi/master/scripts/install)

If cargo is not installed, executing that command as an ordinary user honours the BIN_DIR variable and navi is installed to that directory.

If cargo is installed, it is used by the install script and the BIN_DIR variable is ignored: navi is installed to ~/.cargo/bin/.

OS: debian 5.10.24 (2021-03-19) x86_64
Shell: zsh 5.8
Bash: version 5.1.4

@dnebauer dnebauer added the bug Something isn't working label May 20, 2021
@welcome
Copy link

welcome bot commented May 20, 2021

Thanks for opening your first issue here! In case you're facing a bug, please update navi to the latest version first. Maybe the bug is already solved! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant