mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
Merge topic 'ci-linkcheck'
54e06c601d Help: Replace link with its http redirect
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8898
This commit is contained in:
@@ -270,7 +270,7 @@ std::map<std::string, std::string> GetOSReleaseVariables(
|
||||
|
||||
std::map<std::string, std::string> data;
|
||||
// Based on
|
||||
// https://www.freedesktop.org/software/systemd/man/os-release.html
|
||||
// https://www.freedesktop.org/software/systemd/man/latest/os-release.html
|
||||
for (auto name : { "/etc/os-release"_s, "/usr/lib/os-release"_s }) {
|
||||
const auto& filename = cmStrCat(sysroot, name);
|
||||
if (cmSystemTools::FileExists(filename)) {
|
||||
|
||||
Reference in New Issue
Block a user