Skip to content

DOS Line Endings in install.sh on some rust-std nightlies #62276

Closed

Description

Since the change from travis to azure pipelines some of the rust-std archives have DOS line endings in their install.sh script, which results in errors like the following when trying to execute:

# ./install.sh
bash: ./install.sh: /bin/bash^M: bad interpreter: No such file or directory

Running dos2unix install.sh works around the issue for now.

Not all archives have this issue. Specifically http://static.rust-lang.org/dist/rust-std-nightly-i686-pc-windows-gnu.tar.gz does. Possibly others as well, but our install process fails after the first error, so I am not sure.

See compiler-explorer/infra#230 and compiler-explorer/infra@4df231f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Labels

C-bugCategory: This is a bug.P-highHigh priorityT-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.regression-from-stable-to-betaPerformance or correctness regression from stable to beta.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions