From 8f127e161e59b874788bd5f68cda77023a4145cd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 16 May 2021 18:06:33 +0200 Subject: [PATCH] efi: use meson object directly instead of going through 'substs' --- src/boot/efi/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/boot/efi/meson.build b/src/boot/efi/meson.build index 6b6c493026b..ad549fb65a9 100644 --- a/src/boot/efi/meson.build +++ b/src/boot/efi/meson.build @@ -104,8 +104,8 @@ if have_gnu_efi if get_option('sbat-distro') != '' efi_conf.set_quoted('SBAT_PROJECT', meson.project_name()) - efi_conf.set_quoted('PROJECT_VERSION', substs.get('PROJECT_VERSION')) - efi_conf.set_quoted('PROJECT_URL', substs.get('PROJECT_URL')) + efi_conf.set_quoted('PROJECT_VERSION', meson.project_version()) + efi_conf.set('PROJECT_URL', conf.get('PROJECT_URL')) if get_option('sbat-distro-generation') < 1 error('SBAT Distro Generation must be a positive integer') endif -- 2.47.3