diff options
author | Brad King <brad.king@kitware.com> | 2013-09-26 18:25:48 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 14:46:53 (GMT) |
commit | 82578d995ac6a9c0e669aaf3911e3589631dc337 (patch) | |
tree | a3474a320dbafd73dfaaee2c84746e4d3c470557 /bootstrap | |
parent | cb51088f75f9496fa472972e133620c1e2454052 (diff) | |
download | CMake-82578d995ac6a9c0e669aaf3911e3589631dc337.zip CMake-82578d995ac6a9c0e669aaf3911e3589631dc337.tar.gz CMake-82578d995ac6a9c0e669aaf3911e3589631dc337.tar.bz2 |
bootstrap: Report -rc# in --version output
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -42,6 +42,10 @@ cmake_version_tweak="`cmake_version_component TWEAK`" if [ "$cmake_version_tweak" != "0" ]; then cmake_version="${cmake_version}.${cmake_version_tweak}" fi +cmake_version_rc="`cmake_version_component RC`" +if [ "$cmake_version_rc" != "" ]; then + cmake_version="${cmake_version}-rc${cmake_version_rc}" +fi cmake_data_dir="share/cmake-${cmake_version_major}.${cmake_version_minor}" cmake_doc_dir="doc/cmake-${cmake_version_major}.${cmake_version_minor}" |