summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-21 00:45:20 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-21 00:45:20 +0100
commit2ae21801860f96bf5d2dc7cbfbef9553b429b6fb (patch)
tree89698c98b18e788ee6e296a89b0ac6586bf5ca7c
parent627156c0983afaae698babc2ccd75a59547bb417 (diff)
mk: fix initialisation of config path
right now, the base dir for configs isn't being initialised properly, leading to traversal of the user's / directory whoops indeed. fixed now. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xmk1
1 files changed, 1 insertions, 0 deletions
diff --git a/mk b/mk
index 80f48c2a..7d95656e 100755
--- a/mk
+++ b/mk
@@ -198,6 +198,7 @@ handle_target()
target="${1##*/}"
target_dir="$configdir/$target"
+ defscan="$target_dir/config"
configure_target "$target_dir" && \
$if_not_fetch x_ handle_buildcfg