diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-10-03 18:08:54 +0200 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2020-10-03 18:08:54 +0200 |
commit | 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb (patch) | |
tree | cbb502719786bcd599f5bce6050815ffa7488bd2 | |
parent | 9f0176d9061e102d16dac99ba8d7b5a4b663ab9c (diff) |
[HICN-643] Fix check for release version.
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662
-rw-r--r-- | cmake/Modules/Packager.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/Packager.cmake b/cmake/Modules/Packager.cmake index 5bffa1ebc..94b0e96a7 100644 --- a/cmake/Modules/Packager.cmake +++ b/cmake/Modules/Packager.cmake @@ -97,7 +97,7 @@ macro(make_packages) message(STATUS "Build number is: ${bld}") #define DEB and RPM version numbers - if(${RELEASE} AND ${RELEASE} STREQUAL "-release") + if("${RELEASE}" STREQUAL "-release") set(deb_ver "${tag}-release") set(rpm_ver "${tag}-release") else() |