Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit 057b3d0

Browse files
committed
Apply prefix to cargo as well
1 parent dc9497a commit 057b3d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ if [ -z "${CFG_DISABLE_CARGO}" ]; then
463463
err "failed to unpack cargo installer"
464464
fi
465465

466-
sh "${CARGO_LOCAL_INSTALL_SCRIPT}" "${MAYBE_UNINSTALL}"
466+
sh "${CARGO_LOCAL_INSTALL_SCRIPT}" "${MAYBE_UNINSTALL}" "${MAYBE_PREFIX}"
467467
if [ $? -ne 0 ]
468468
then
469469
rm -Rf "${TMP_DIR}"

0 commit comments

Comments
 (0)