mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-20 05:30:25 +02:00
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>
This commit is contained in:
@@ -106,7 +106,7 @@ check_target()
|
||||
[ -z "$tree" ] && \
|
||||
err "tree unset in '$boarddir/target.cfg'" "check_target" "$@"
|
||||
|
||||
x_ ./mk -d coreboot "$tree"
|
||||
x_ "$mk" -d coreboot "$tree"
|
||||
|
||||
ifdtool="elf/coreboot/$tree/ifdtool"
|
||||
|
||||
@@ -117,7 +117,7 @@ check_target()
|
||||
patch_release()
|
||||
{
|
||||
[ "$nuke" != "nuke" ] && \
|
||||
x_ ./mk download "$board"
|
||||
x_ "$mk" download "$board"
|
||||
|
||||
has_hashes="n"
|
||||
tmpromdir="$tmpromdel/bin/$board"
|
||||
|
||||
Reference in New Issue
Block a user