From 055279e09c3db9429e02874ec9620b9af357c80a Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Thu, 4 Feb 2016 02:48:24 +0100 Subject: Do not complain if no changes since last revision --- cmake/build.cmake | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'cmake') 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) -- cgit v1.2.3