diff options
author | Josh Blum <josh@joshknows.com> | 2010-08-17 11:05:28 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-08-17 11:05:28 -0700 |
commit | 977651fd5710b1201b28b0cc4b6a9b0bd9871166 (patch) | |
tree | 6ba380ddf145920bfdac166d36cc7cc9cab23d6d /host/config | |
parent | 7d110e73e6b0651f73e8e5b165244f59e66fed87 (diff) | |
download | uhd-977651fd5710b1201b28b0cc4b6a9b0bd9871166.tar.gz uhd-977651fd5710b1201b28b0cc4b6a9b0bd9871166.tar.bz2 uhd-977651fd5710b1201b28b0cc4b6a9b0bd9871166.zip |
uhd: add space to multiline string so quotes in the string cant disturb the multiline quotes
Diffstat (limited to 'host/config')
-rw-r--r-- | host/config/Version.cmake | 2 |
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 ) |