diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-04-03 01:43:47 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-04-04 15:22:17 +0200 |
commit | 7363ed42ff625c5de75d89caa498c267b540fa6b (patch) | |
tree | 7017420c929ff7d68485015b067cbd792f14e61f /modules/TDEMacros.cmake | |
parent | 23558fd6906805478acba6f184473811ff025908 (diff) | |
download | tde-cmake-7363ed42ff625c5de75d89caa498c267b540fa6b.tar.gz tde-cmake-7363ed42ff625c5de75d89caa498c267b540fa6b.zip |
tde_read_src_metadata: Typo correction.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit 3d16bad245edd1352c2d053561d1ccdf3c6b1cf8)
Diffstat (limited to 'modules/TDEMacros.cmake')
-rw-r--r-- | modules/TDEMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/TDEMacros.cmake b/modules/TDEMacros.cmake index 824392e..72bde4d 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}" ) |