build: fix formatting of build id parameter for wxs file

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé 2021-02-12 18:22:21 +00:00
parent 5400e86e4d
commit b5cf22481f

View File

@ -472,7 +472,12 @@ if bash_completion_dep.found()
endif
endif
conf_data.set('BUILDID', get_option('build-id'))
id = get_option('build-id')
if id != ''
conf_data.set('BUILDID', '-@0@'.format(id))
else
conf_data.set('BUILDID', '')
endif
conf_data.set('OS_ID', get_option('os-id'))
arr_version = meson.project_version().split('.')