mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lbmk: unified PWD handling (work directory)
instead of running pwd all the time, run it once in lib.sh, and export PWD. for lbmk-specific use of PWD, use xbmkpwd, which contains the value of PWD as was set by the pwd utility in lib.sh. many parts of lbmk rely on pwd, and it *must* be correct. this change adds basic error handling, since pwd can in fact return errors in some cases. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -7,4 +7,4 @@ serx="$sersrc/build/pico_serprog.uf2"
|
||||
picosdk="src/pico-sdk"
|
||||
serdir="$picosdk/src/boards/include/boards"
|
||||
premake="mkserprog pico"
|
||||
picotool="`pwd`/src/picotool/xbmkbin"
|
||||
picotool="$xbmkpwd/src/picotool/xbmkbin"
|
||||
|
||||
Reference in New Issue
Block a user