[cmake-commits] king committed bootstrap 1.102 1.103

cmake-commits at cmake.org cmake-commits at cmake.org
Wed Jan 23 17:43:10 EST 2008


Update of /cvsroot/CMake/CMake
In directory public:/mounts/ram/cvs-serv12147

Modified Files:
	bootstrap 
Log Message:
BUG: Do not have variable and function of the same name.  Old shells do not likeit.


Index: bootstrap
===================================================================
RCS file: /cvsroot/CMake/CMake/bootstrap,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- bootstrap	22 Jan 2008 14:13:03 -0000	1.102
+++ bootstrap	23 Jan 2008 22:43:08 -0000	1.103
@@ -255,7 +255,7 @@
 }
 
 # Display CMake bootstrap usage
-cmake_version()
+cmake_version_display()
 {
   (
   # Get CMake version
@@ -482,7 +482,7 @@
     cmake_usage
   fi
   if echo $a | grep "^--version" > /dev/null 2> /dev/null; then
-    cmake_version
+    cmake_version_display
     exit 2
   fi
   if echo $a | grep "^--verbose" > /dev/null 2> /dev/null; then
@@ -505,7 +505,7 @@
 
 echo "---------------------------------------------"
 # Get CMake version
-echo "`cmake_version`"
+echo "`cmake_version_display`"
 
 # Check for in-source build
 cmake_in_source_build=



More information about the Cmake-commits mailing list