summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-04-13 02:25:01 +0100
committerLeah Rowe <leah@libreboot.org>2025-04-13 02:25:01 +0100
commit4fa3bb9e5b18c7812d56b3713a4e0213879a0dc6 (patch)
treec0fa05726bd3faf5b62c3fca1c63fd70e3abe764 /mk
parent9b3635718a89c3cdb523e3d9ac478180fd53cb86 (diff)
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>
Diffstat (limited to 'mk')
-rwxr-xr-xmk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk b/mk
index b5dd7db7..29c8ee5d 100755
--- a/mk
+++ b/mk
@@ -479,7 +479,7 @@ check_makefile()
mkhelp()
{
- [ -z "$1" ] || [ -n "$mode" ] || "$1" || $err "mkhelp: !$1"; :
+ [ -z "$1" ] || [ -n "$mode" ] || eval "$1" || $err "mkhelp: !$1"; :
}
copy_elf()