summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorBryce Harrington <bryce@bryceharrington.org>2014-01-14 18:46:05 +0000
committerbryce <bryce@canonical.com>2014-01-14 18:46:05 +0000
commit744053120dad8edd7085dda1a02e9f9ecd65d701 (patch)
treebf1a717dc6b7ffc658b7ea66d6673d4515e99a3b /CMakeScripts
parentautogen.sh: Improve portability (diff)
downloadinkscape-744053120dad8edd7085dda1a02e9f9ecd65d701.tar.gz
inkscape-744053120dad8edd7085dda1a02e9f9ecd65d701.zip
Fix bzr revision number in version string (LP #1071923)
Patch from David Evans. (bzr r12928)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/inkscape-version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/inkscape-version.cmake b/CMakeScripts/inkscape-version.cmake
index 1d98a5799..a72946ac5 100644
--- a/CMakeScripts/inkscape-version.cmake
+++ b/CMakeScripts/inkscape-version.cmake
@@ -11,7 +11,7 @@ set(INKSCAPE_REVISION "unknown")
if(EXISTS ${INKSCAPE_SOURCE_DIR}/.bzr/)
execute_process(COMMAND
- bzr revno ${INKSCAPE_SOURCE_DIR}
+ bzr revno --tree ${INKSCAPE_SOURCE_DIR}
OUTPUT_VARIABLE INKSCAPE_REVISION
OUTPUT_STRIP_TRAILING_WHITESPACE)
endif()