summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-04-03 01:43:47 +0200
committerSlávek Banko <slavek.banko@axis.cz>2020-04-04 15:21:08 +0200
commit3d16bad245edd1352c2d053561d1ccdf3c6b1cf8 (patch)
tree6d482a815956fc9ee5cdbdb6c234d67c42e7b8b1 /modules
parentfd7d9c535e4c910b1ea9a72a9e4adcc27ff29858 (diff)
downloadtde-cmake-3d16bad245edd1352c2d053561d1ccdf3c6b1cf8.tar.gz
tde-cmake-3d16bad245edd1352c2d053561d1ccdf3c6b1cf8.zip
tde_read_src_metadata: Typo correction.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'modules')
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index df68422..6156b79 100644
--- a/modules/TDEMacros.cmake
+++ b/modules/TDEMacros.cmake
@@ -138,7 +138,7 @@ macro( tde_read_src_metadata )
if( TDE_PKG_INFO )
string( REGEX MATCH "(^|\n)Name: ([^\n]*)" TDE_PKG_NAME "${TDE_PKG_INFO}" )
string( REGEX REPLACE "^[^:]*: " "" TDE_PKG_NAME "${TDE_PKG_NAME}" )
- string( REGEX MATCH "(^|\n)Version: ([^\n]*)" TDE_PKG_REVISION "${TDE_PKG_INFO}" )
+ string( REGEX MATCH "(^|\n)Version: ([^\n]*)" TDE_PKG_VERSION "${TDE_PKG_INFO}" )
string( REGEX REPLACE "^[^:]*: " "" TDE_PKG_VERSION "${TDE_PKG_VERSION}" )
string( REGEX MATCH "(^|\n)DateTime: ([^\n]*)" TDE_PKG_DATETIME "${TDE_PKG_INFO}" )
string( REGEX REPLACE "^[^:]*: " "" TDE_PKG_DATETIME "${TDE_PKG_DATETIME}" )