summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-28 23:00:42 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-03-28 23:00:42 (GMT)
commit11077bfcaaf1869a7133e00e3f8837eaa2cd162f (patch)
tree593127bc448311d1f68c7ad3b9e3539222843a81
parent1816011791a1db7095e57d3f6e6bda6d51e89f7a (diff)
downloadCMake-11077bfcaaf1869a7133e00e3f8837eaa2cd162f.zip
CMake-11077bfcaaf1869a7133e00e3f8837eaa2cd162f.tar.gz
CMake-11077bfcaaf1869a7133e00e3f8837eaa2cd162f.tar.bz2
BUG: The is replaced by cvs... This is safer anyway
-rwxr-xr-xbootstrap2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap b/bootstrap
index 0e17e14..a0026c4 100755
--- a/bootstrap
+++ b/bootstrap
@@ -133,7 +133,7 @@ cmake_version()
done
if echo "$CMAKE_VERSION" | grep "\.[0-9][0-9]*\.[0-9]*[13579]\.[0-9]" > /dev/null 2>&1; then
- CMake_DATE=`cat "${cmake_source_dir}/Source/cmVersion.cxx" | grep "\"\\\$Date$"`
+ CMake_DATE=`cat "${cmake_source_dir}/Source/cmVersion.cxx" | grep "\".Date: [0-9][0-9]*/[0-9][0-9]*/[0-9][0-9]* [0-9][0-9]*:[0-9][0-9]*:[0-9][0-9]* .\";"`
CMake_DATE=`echo "${CMake_DATE}" | sed "s/.*Date: \([0-9][0-9]*\)\/\([0-9][0-9]*\)\/\([0-9][0-9]*\) .*/\1\2\3/" `
CMAKE_VERSION=`echo $CMAKE_VERSION | sed "s/\.\([0-9][0-9]*\)\.\([0-9][0-9]*\)\.\([0-9][0-9]*\)/\1.\2-${CMake_DATE}/"`
else