From b6167d96117fcb3f737c9b3534e858dcdcaa5aa0 Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Wed, 26 Jan 2022 10:20:46 +0100 Subject: meson: Use same name format for efi binary intermediates --- tools/debug-sd-boot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/debug-sd-boot.sh b/tools/debug-sd-boot.sh index 816eead22d..1bd2cc406d 100755 --- a/tools/debug-sd-boot.sh +++ b/tools/debug-sd-boot.sh @@ -32,10 +32,10 @@ fi binary=$(realpath "${1}") if [[ "${1}" =~ systemd-boot([[:alnum:]]+).efi ]]; then target="systemd-boot" - symbols=$(realpath "$(dirname "${1}")/systemd_boot.so") + symbols=$(realpath "${1%efi}elf") elif [[ "${1}" =~ linux([[:alnum:]]+).efi.stub ]]; then target="systemd-stub" - symbols=$(realpath "$(dirname "${1}")/linux${BASH_REMATCH[1]}.elf.stub") + symbols=$(realpath "${1%efi.stub}elf.stub") else echo "Cannot detect EFI binary '${1}'." exit 1 -- cgit v1.2.1