diff options
author | Mauro Sardara <msardara@cisco.com> | 2020-10-03 16:10:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2020-10-03 16:10:17 +0000 |
commit | ecadd679e406f4ca1231dadfcbbfca61d010829c (patch) | |
tree | 0895d20f4e1e50fc26b24394aa280a0fa3b1ecb1 /cmake/Modules | |
parent | e88d8546ee773db62c94dc92b8029b0a29327f8e (diff) | |
parent | 35cd93b3e940d74bd4eb01e0a8034cb8590d90fb (diff) |
Merge "[HICN-643] Fix check for release version." into stable/2005
Diffstat (limited to 'cmake/Modules')
-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() |