use $CARGO_HOME for installation if set (#5219)
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -93,7 +93,7 @@ else
|
|||||||
fi
|
fi
|
||||||
bin_dir="$dx_install/bin"
|
bin_dir="$dx_install/bin"
|
||||||
exe="$bin_dir/dx"
|
exe="$bin_dir/dx"
|
||||||
cargo_bin_dir="$HOME/.cargo/bin"
|
cargo_bin_dir="${CARGO_HOME:-$HOME/.cargo}/bin"
|
||||||
cargo_bin_exe="$cargo_bin_dir/dx"
|
cargo_bin_exe="$cargo_bin_dir/dx"
|
||||||
|
|
||||||
if [ ! -d "$bin_dir" ]; then
|
if [ ! -d "$bin_dir" ]; then
|
||||||
|
|||||||
Reference in new issue
Block a user