From 00b6a4b59296f39439ef2557930e13af2d9a7808 Mon Sep 17 00:00:00 2001 From: Brad King Date: Wed, 5 Mar 2025 06:48:39 -0500 Subject: 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`. --- bootstrap | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bootstrap b/bootstrap index 793f245..eb8a0ac 100755 --- a/bootstrap +++ b/bootstrap @@ -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" -- cgit v0.12