From d90154cfd7e9ea94bc5ff8fde677c40befd6e8a1 Mon Sep 17 00:00:00 2001 From: Steve Bedford Date: Mon, 27 Aug 2018 13:57:50 -0400 Subject: [PATCH] include version without git revs even when cve_product isnt set --- scripts/lib/manifest.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/lib/manifest.py b/scripts/lib/manifest.py index 37d3eb0..ee224cc 100755 --- a/scripts/lib/manifest.py +++ b/scripts/lib/manifest.py @@ -128,8 +128,9 @@ def generate(self): cve_product = recipeinfo.getVar('CVE_PRODUCT') if cve_product: - cve_version = pv.split("+git")[0] manifest['packages'][p]['cve_product'] = cve_product + cve_version = pv.split("+git")[0] + if cve_version != pv: manifest['packages'][p]['cve_version'] = cve_version patches = self.utils.get_patch_list(recipeinfo)