Fix install script default directory (#1525)
This commit is contained in:
parent
3d6f928e57
commit
70dcc7f528
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user