1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

bootstrap: Update copyright line extraction for reST markup in LICENSE.rst

Since commit 8d83487e60 (CONTRIBUTORS: Factor contributors list out of
license file, 2025-03-02) the copyright line has reStructuredText
markup.  Filter it out of the copyright line printed by `bootstrap`.
This commit is contained in:
Brad King
2025-03-05 06:48:39 -05:00
parent fb8872653c
commit 00b6a4b592

View File

@@ -64,7 +64,8 @@ if test "$cmake_version_rc" != ""; then
cmake_version="${cmake_version}-rc${cmake_version_rc}"
fi
cmake_copyright="`grep '^Copyright .* Kitware' "${cmake_source_dir}/LICENSE.rst"`"
cmake_copyright="`grep '^Copyright .* Kitware' "${cmake_source_dir}/LICENSE.rst" |
sed 's/\`Contributors.*\`_/Contributors/'`"
cmake_bin_dir_keyword="OTHER"
cmake_data_dir_keyword="OTHER"