summaryrefslogtreecommitdiffstats
path: root/bootstrap
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-01-23 22:43:08 (GMT)
committerBrad King <brad.king@kitware.com>2008-01-23 22:43:08 (GMT)
commit02c3b71b2fadcb24cdc13fe1c59019dbafb4fdc0 (patch)
treee28bedd1643386890b3117d7f6e84412489794a8 /bootstrap
parentf5a5b1ffd6ff4fac6870b97938ef56edd99d6b9b (diff)
downloadCMake-02c3b71b2fadcb24cdc13fe1c59019dbafb4fdc0.zip
CMake-02c3b71b2fadcb24cdc13fe1c59019dbafb4fdc0.tar.gz
CMake-02c3b71b2fadcb24cdc13fe1c59019dbafb4fdc0.tar.bz2
BUG: Do not have variable and function of the same name. Old shells do not likeit.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 3 insertions, 3 deletions
diff --git a/bootstrap b/bootstrap
index 114466f..cfcf19a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -255,7 +255,7 @@ EOF
}
# Display CMake bootstrap usage
-cmake_version()
+cmake_version_display()
{
(
# Get CMake version
@@ -482,7 +482,7 @@ for a in "$@"; do
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 @@ fi
echo "---------------------------------------------"
# Get CMake version
-echo "`cmake_version`"
+echo "`cmake_version_display`"
# Check for in-source build
cmake_in_source_build=