summaryrefslogtreecommitdiffstats
path: root/cmake/Modules
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2020-10-03 16:10:17 +0000
committerGerrit Code Review <gerrit@fd.io>2020-10-03 16:10:17 +0000
commitecadd679e406f4ca1231dadfcbbfca61d010829c (patch)
tree0895d20f4e1e50fc26b24394aa280a0fa3b1ecb1 /cmake/Modules
parente88d8546ee773db62c94dc92b8029b0a29327f8e (diff)
parent35cd93b3e940d74bd4eb01e0a8034cb8590d90fb (diff)
Merge "[HICN-643] Fix check for release version." into stable/2005
Diffstat (limited to 'cmake/Modules')
-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()