Skip to content

rustup suggest executing "source ...", but this command is absent in dash #3415

@safinaskar

Description

@safinaskar

Problem

Command curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh in the end suggest running command source "$HOME/.cargo/env". But there is no command source in dash (this is Debian's default shell). So, please fix your suggestion to . instead of source.

I copied this source "$HOME/.cargo/env" from rustup output and pasted to my dockerfile. And docker build failed, because of this problem

Steps

.

Possible Solution(s)

No response

Notes

No response

Rustup version

.

Installed toolchains

.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions