summaryrefslogtreecommitdiffstats
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:22:45 +0200
commitfc3b20eb18030f128a334099e6e89dceb830e05c (patch)
tree07f9ffa53632d6e9279409f15cddce3fc84e417c
parentdbef499b212781ab1001cb1a056526b3cbce8423 (diff)
downloadtde-cmake-fc3b20eb18030f128a334099e6e89dceb830e05c.tar.gz
tde-cmake-fc3b20eb18030f128a334099e6e89dceb830e05c.zip
tde_read_src_metadata: Typo correction.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 3d16bad245edd1352c2d053561d1ccdf3c6b1cf8)
-rw-r--r--modules/TDEMacros.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake
index 1217f56..feceee8 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}" )