summaryrefslogtreecommitdiff
path: root/include/env/get.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-09-16 05:52:06 +0100
committerLeah Rowe <leah@libreboot.org>2026-09-16 05:52:06 +0100
commit113dac006f65a468a09570e8dc9cde94cde3a7bd (patch)
tree757e3dd1545a268663bba2be6e325e079512da17 /include/env/get.sh
parent88887c0163c85321bd8e8e1ce7acc9cae8400a34 (diff)
variable ./mk location, based on user input
when calling ./mk, or from PATH, an absolute path is created to ./mk this will likely be different than mk, but it might be a different script. perhaps the operator is making a copy of the mk script temporarily - obviously not advised, no, but here we have a problem because then lbmk is still running ./mk everywhere run arg0 instead, now called "mk" ./mk is still hardcoded in release.sh, because we do need to make sure we're using the right script there Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/env/get.sh')
-rw-r--r--include/env/get.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/env/get.sh b/include/env/get.sh
index f576fc99..0863615b 100644
--- a/include/env/get.sh
+++ b/include/env/get.sh
@@ -32,11 +32,11 @@ single_tree_fetch()
fi
[ -n "$xgcctree" ] && \
- x_ ./mk -f coreboot "$xgcctree"
+ x_ "$mk" -f coreboot "$xgcctree"
[ -n "$depend" ] && \
for d in $depend ; do
- x_ ./mk -f $d
+ x_ "$mk" -f $d
done
clone_project