diff options
author | Brad King <brad.king@kitware.com> | 2013-11-12 20:56:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-11-12 21:22:52 (GMT) |
commit | 993b685676de7bd63c7e45d7b119acc2da9b2fc3 (patch) | |
tree | 9442e39cf4d38bf165c0b567dc3dc737a2667433 /bootstrap | |
parent | d3f7fa22ed8150eb030255adc4470578f1cc71e3 (diff) | |
download | CMake-993b685676de7bd63c7e45d7b119acc2da9b2fc3.zip CMake-993b685676de7bd63c7e45d7b119acc2da9b2fc3.tar.gz CMake-993b685676de7bd63c7e45d7b119acc2da9b2fc3.tar.bz2 |
bootstrap: Parse Copyright.txt instead of duplicating notice
Use 'grep' to extract the copyright notice from Copyright.txt instead of
duplicating it in the bootstrap script.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -62,6 +62,8 @@ if [ "$cmake_version_rc" != "" ]; then cmake_version="${cmake_version}-rc${cmake_version_rc}" fi +cmake_copyright="`grep '^Copyright .* Kitware' "${cmake_source_dir}/Copyright.txt"`" + cmake_data_dir_keyword="OTHER" cmake_doc_dir_keyword="OTHER" cmake_man_dir_keyword="OTHER" @@ -402,7 +404,7 @@ Directory and file names: # Display CMake bootstrap usage cmake_version_display() { - echo "CMake ${cmake_version}, Copyright 2000-2012 Kitware, Inc." + echo "CMake ${cmake_version}, ${cmake_copyright}" } # Display CMake bootstrap error, display the log file and exit |