summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-10-03 18:08:54 +0200
committerMauro Sardara <msardara@cisco.com>2020-10-03 16:10:39 +0000
commit9ebce968bff0b0eebce61a3e83a0fe7c75253eba (patch)
treecbb502719786bcd599f5bce6050815ffa7488bd2
parent9f0176d9061e102d16dac99ba8d7b5a4b663ab9c (diff)
[HICN-643] Fix check for release version.
Signed-off-by: Mauro Sardara <msardara@cisco.com> Change-Id: I4344315b771d35943cc78d3d358c2aebc0f72662 (cherry picked from commit 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb)
-rw-r--r--cmake/Modules/Packager.cmake2
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()