mk: use eval to run mkhelp commands

directly quoting it and running it quoted means
that the shell way try to execute it as a file.

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.04_branch
Leah Rowe 2025-04-13 02:25:01 +01:00
parent f4e5879534
commit e63c14677f
1 changed files with 1 additions and 1 deletions

2
mk
View File

@ -478,7 +478,7 @@ check_makefile()
mkhelp() mkhelp()
{ {
[ -z "$1" ] || [ -n "$mode" ] || "$1" || $err "mkhelp: !$1"; : [ -z "$1" ] || [ -n "$mode" ] || eval "$1" || $err "mkhelp: !$1"; :
} }
copy_elf() copy_elf()