Help: Replace link with its http redirect

This commit is contained in:
Brad King
2023-10-19 09:23:31 -04:00
parent d5e030fa67
commit 54e06c601d
3 changed files with 3 additions and 3 deletions

View File

@@ -265,7 +265,7 @@ Example:
.. [#mebibytes] One MiB (mebibyte) is equal to 1024x1024 bytes.
.. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/os-release.html
.. _man 5 os-release: https://www.freedesktop.org/software/systemd/man/latest/os-release.html
.. _various distribution-specific files: http://linuxmafia.com/faq/Admin/release-files.html
.. _Query Windows registry:

View File

@@ -19,7 +19,7 @@ Commands
* The :command:`string(TIMESTAMP)` command now supports the ``%V``
specifier for ISO 8601 week numbers.
.. _`OS identification variables`: https://www.freedesktop.org/software/systemd/man/os-release.html
.. _`OS identification variables`: https://www.freedesktop.org/software/systemd/man/latest/os-release.html
Variables
---------

View File

@@ -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)) {