Skip to content

Invoking x from a parent directory fails when CDPATH is set #146769

@RalfJung

Description

@RalfJung

Summary

Invoking x from a different directory does not (always) work as expected

Command used

git clone https://github.com/rust-lang/rust
rust/x check miri

This prints:

/usr/bin/python3: can't open file '/home/r/src/rust/tmp/rust\n/home/r/src/rust/tmp/rust/x.py': [Errno 2] No such file or directory

I don't know what's happening here but the literal \n in that string makes me think some escaping went wrong somewhere.

HEAD

2f4dfc7

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions