Skip to content

Commit

Permalink
include version without git revs even when cve_product isnt set
Browse files Browse the repository at this point in the history
  • Loading branch information
mgpb committed Aug 27, 2018
1 parent edfa170 commit d90154c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/lib/manifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d90154c

Please sign in to comment.