mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-25 06:40:03 +00:00
install-from-binstall-release.sh: Fix unbound variable error (#1241)
fixes #1240
This commit is contained in:
parent
7c2ddd9a0c
commit
6ed7ea8b52
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ fi
|
|||
|
||||
./cargo-binstall -y --force cargo-binstall
|
||||
|
||||
if ! [[ $CARGO_HOME ]]; then
|
||||
if ! [[ -v CARGO_HOME ]]; then
|
||||
CARGO_HOME=$HOME/.cargo
|
||||
fi
|
||||
if ! [[ ":$PATH:" == *":$CARGO_HOME/bin:"* ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue