Fix install script default directory (#1525)

This commit is contained in:
Casey Rodarmor 2023-01-24 13:54:01 -08:00 committed by GitHub
parent 3d6f928e57
commit 70dcc7f528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ FLAGS:
OPTIONS: OPTIONS:
--tag TAG Tag (version) of the crate to install, defaults to latest release --tag TAG Tag (version) of the crate to install, defaults to latest release
--to LOCATION Where to install the binary [default: ~/.cargo/bin] --to LOCATION Where to install the binary [default: ~/bin]
--target TARGET --target TARGET
EOF EOF
} }
@ -98,7 +98,7 @@ if [ -z ${target-} ]; then
fi fi
if [ -z ${dest-} ]; then if [ -z ${dest-} ]; then
dest="$HOME/.cargo/bin" dest="$HOME/bin"
fi fi
if [ -z ${tag-} ]; then if [ -z ${tag-} ]; then