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:21:08 +0200 |
commit | 3d16bad245edd1352c2d053561d1ccdf3c6b1cf8 (patch) | |
tree | 6d482a815956fc9ee5cdbdb6c234d67c42e7b8b1 /modules | |
parent | fd7d9c535e4c910b1ea9a72a9e4adcc27ff29858 (diff) | |
download | tde-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.cmake | 2 |
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}" ) |