diff options
| author | Benjamin Herr <git@1d6.org> | 2022-03-23 00:03:13 -0700 |
|---|---|---|
| committer | Benjamin Herr <git@1d6.org> | 2022-03-23 13:00:38 -0700 |
| commit | 76756ccb3ab1f06a034878d6cb50672f5c8d1331 (patch) | |
| tree | 08b653c54dce890e64c7e7618a4e6679c8582eeb /compiler/rustc_codegen_gcc | |
| parent | 2b50739b4978936750a0c8de404ff184e49114f9 (diff) | |
| download | rust-76756ccb3ab1f06a034878d6cb50672f5c8d1331.tar.gz rust-76756ccb3ab1f06a034878d6cb50672f5c8d1331.zip | |
bootstrap.py: nixos check in /etc/os-release with quotes
Per https://www.freedesktop.org/software/systemd/man/os-release.html, > Variable assignment values must be enclosed in double or single quotes > if they include spaces, semicolons or other special characters outside > of A–Z, a–z, 0–9. (Assignments that do not include these special > characters may be enclosed in quotes too, but this is optional.) So, past `ID=nixos`, let's also check for `ID='nixos'` and `ID="nixos"`. One of these is necessary between nixos/nixpkgs#162168 and nixos/nixpkgs#164068, but this seems more correct either way.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
