summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-09-14 13:30:39 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-09-14 13:30:39 (GMT)
commit7d148d8036e2b2389f6e0cae55b34956c835e98d (patch)
tree63c4ff96293bc3aeaaab945a594c698add41b0b7 /Utilities
parent297be5b524ecc22a9ac2deb069c3703946f3147c (diff)
downloadCMake-7d148d8036e2b2389f6e0cae55b34956c835e98d.zip
CMake-7d148d8036e2b2389f6e0cae55b34956c835e98d.tar.gz
CMake-7d148d8036e2b2389f6e0cae55b34956c835e98d.tar.bz2
Fix the name of the variable being tested.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/Release/release_cmake.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Release/release_cmake.cmake b/Utilities/Release/release_cmake.cmake
index 44c44f7..3a35ec3 100644
--- a/Utilities/Release/release_cmake.cmake
+++ b/Utilities/Release/release_cmake.cmake
@@ -34,7 +34,7 @@ if(NOT DEFINED CVS_COMMAND)
set(CVS_COMMAND cvs)
endif(NOT DEFINED CVS_COMMAND)
-if(${GIT_CREATE_VERSION} MATCHES "^(release|maint|next)$")
+if(${CMAKE_CREATE_VERSION} MATCHES "^(release|maint|next)$")
set(GIT_BRANCH origin/${CMAKE_CREATE_VERSION})
else()
set(GIT_BRANCH ${CMAKE_CREATE_VERSION})