summaryrefslogtreecommitdiffstats
path: root/Utilities/Release/release_cmake.sh.in
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-09-10 19:41:27 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2010-09-10 19:41:27 (GMT)
commit187976b1f35ee9cca95d67c87f0868f60201dc2b (patch)
tree1a305e69e8af04b8e081806746aa179935a66d44 /Utilities/Release/release_cmake.sh.in
parentf2b4a466779f5481c79d711ee2601d60ce41a6ad (diff)
downloadCMake-187976b1f35ee9cca95d67c87f0868f60201dc2b.zip
CMake-187976b1f35ee9cca95d67c87f0868f60201dc2b.tar.gz
CMake-187976b1f35ee9cca95d67c87f0868f60201dc2b.tar.bz2
Fix release scripts to be able to build releases from tags.
Diffstat (limited to 'Utilities/Release/release_cmake.sh.in')
-rwxr-xr-xUtilities/Release/release_cmake.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Utilities/Release/release_cmake.sh.in b/Utilities/Release/release_cmake.sh.in
index 4189728..8455e92 100755
--- a/Utilities/Release/release_cmake.sh.in
+++ b/Utilities/Release/release_cmake.sh.in
@@ -89,7 +89,7 @@ if [ ! -z "@GIT_COMMAND@" ]; then
@GIT_EXTRA@
check_exit_value $? "git extra cmake source" || exit 1
# now checkout a copy on the local branch working
- @GIT_COMMAND@ checkout -b working origin/@GIT_BRANCH@
+ @GIT_COMMAND@ checkout -b working @GIT_BRANCH@
check_exit_value $? "git checkout" || exit 1
cd ..
else