summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2016-02-04 02:48:24 +0100
committerSuren A. Chilingaryan <csa@suren.me>2016-02-04 02:48:24 +0100
commit055279e09c3db9429e02874ec9620b9af357c80a (patch)
tree5ccbb87fcd35c7feca7da55973902f9ba3e9007f /cmake
parentab0797327e5b7cf4c4710ce7d2fff533ba405507 (diff)
downloadpcitool-055279e09c3db9429e02874ec9620b9af357c80a.tar.gz
pcitool-055279e09c3db9429e02874ec9620b9af357c80a.tar.bz2
pcitool-055279e09c3db9429e02874ec9620b9af357c80a.tar.xz
pcitool-055279e09c3db9429e02874ec9620b9af357c80a.zip
Do not complain if no changes since last revision
Diffstat (limited to 'cmake')
-rw-r--r--cmake/build.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmake/build.cmake b/cmake/build.cmake
index 94eb4c1..b0d803a 100644
--- a/cmake/build.cmake
+++ b/cmake/build.cmake
@@ -57,11 +57,10 @@ if (BAZAAR_FOUND)
)
if (${_retcode} EQUAL 0)
- set(_last_output ${_output})
string(REGEX REPLACE "^(.*\n)?committer: ([^\n]+).*"
- "\\2" PCILIB_REVISION_AUTHOR "${_last_output}" )
+ "\\2" PCILIB_REVISION_AUTHOR "${_output}" )
string(REGEX REPLACE "^(.*\n)?branch nick: ([^\n]+).*"
- "\\2" PCILIB_REVISION_BRANCH "${_last_output}" )
+ "\\2" PCILIB_REVISION_BRANCH "${_output}" )
endif (${_retcode} EQUAL 0)
endif (${_retcode} EQUAL 0)
@@ -75,7 +74,7 @@ if (BAZAAR_FOUND)
)
if (${_retcode} EQUAL 0)
- string(REGEX REPLACE "\n+" ";" PCILIB_REVISION_MODIFICATIONS ${_output})
+ string(REGEX REPLACE "\n+" ";" PCILIB_REVISION_MODIFICATIONS "${_output}")
# set(PCILIB_REVISION_MODIFICATIONS ${_output})
endif (${_retcode} EQUAL 0)
endif(BAZAAR_FOUND)