summaryrefslogtreecommitdiffstats
path: root/host/config/Version.cmake
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-08-17 19:23:56 +0000
committerJosh Blum <josh@joshknows.com>2010-08-17 19:23:56 +0000
commit1e28ae518de1268efa370eb8b4b206b7d5a49b03 (patch)
tree3f989545009e168064987b3ef70c486c24a21c5b /host/config/Version.cmake
parent1aa1404ebb59594a8c81b31f9b56ad35bd832a26 (diff)
downloaduhd-1e28ae518de1268efa370eb8b4b206b7d5a49b03.tar.gz
uhd-1e28ae518de1268efa370eb8b4b206b7d5a49b03.tar.bz2
uhd-1e28ae518de1268efa370eb8b4b206b7d5a49b03.zip
usrp-e: building off of next branch
Diffstat (limited to 'host/config/Version.cmake')
-rw-r--r--host/config/Version.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/config/Version.cmake b/host/config/Version.cmake
index a592a4565..9e4b6b306 100644
--- a/host/config/Version.cmake
+++ b/host/config/Version.cmake
@@ -42,7 +42,7 @@ ELSE(${GIT} STREQUAL "GIT-NOTFOUND")
#extract the timestamp from the git log entry
EXECUTE_PROCESS(
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
- COMMAND ${PYTHON_EXECUTABLE} -c "import re; print re.match('^.*Date:\\s*(\\d*).*$', '''${_git_log}''', re.MULTILINE | re.DOTALL).groups()[0]"
+ COMMAND ${PYTHON_EXECUTABLE} -c "import re; print re.match('^.*Date:\\s*(\\d*).*$', ''' ${_git_log} ''', re.MULTILINE | re.DOTALL).groups()[0]"
OUTPUT_VARIABLE _git_timestamp OUTPUT_STRIP_TRAILING_WHITESPACE
)