summaryrefslogtreecommitdiff
path: root/indra/cmake/BuildVersion.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2013-07-16 17:38:26 -0400
committerOz Linden <oz@lindenlab.com>2013-07-16 17:38:26 -0400
commita4966a661213a25b780604084fe169565f62f548 (patch)
treecec372b72a9a214bfc1d29c9d68859d2d1912a60 /indra/cmake/BuildVersion.cmake
parent611c31a80173473431ba47a7c2037e710465453b (diff)
OPEN-182: correct tip rev number use in local build version generation
Diffstat (limited to 'indra/cmake/BuildVersion.cmake')
-rwxr-xr-xindra/cmake/BuildVersion.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/BuildVersion.cmake b/indra/cmake/BuildVersion.cmake
index b9ec8f5266..af2063ce6d 100755
--- a/indra/cmake/BuildVersion.cmake
+++ b/indra/cmake/BuildVersion.cmake
@@ -18,7 +18,7 @@ if (NOT DEFINED VIEWER_SHORT_VERSION) # will be true in indra/, false in indra/n
find_program(MERCURIAL hg)
if (DEFINED MERCURIAL)
execute_process(
- COMMAND ${MERCURIAL} log -r tip --template "{p1rev}"
+ COMMAND ${MERCURIAL} log -r tip --template "{rev}"
OUTPUT_VARIABLE VIEWER_VERSION_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE
)