mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
mk: simplify xbmkpwd initialisation
do it from mk instead. we don't need to run pwd anymore, because we just get the path and cd to it, setting that as the path. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Vendored
+1
-2
@@ -12,11 +12,10 @@ sha512sum="util/sbase/sha512sum"
|
||||
|
||||
eval "`newvar aur_notice basetmp board checkvarschk checkvarsxbmk configdir \
|
||||
datadir is_child python pyver reinstall relname version versiondate \
|
||||
xbmklock xbmkpath xbmkpwd xbmkpwd xbtmp`"
|
||||
xbmklock xbmkpath xbtmp`"
|
||||
|
||||
xbmk_init()
|
||||
{
|
||||
xbmkpwd="`pwd || err "Cannot generate PWD"`" || err "!" xbmk_init "$@"
|
||||
xbmklock="$xbmkpwd/lock"
|
||||
basetmp="$xbmkpwd/xbmkwd"
|
||||
sha512sum="$xbmkpwd/util/sbase/sha512sum"
|
||||
|
||||
Reference in New Issue
Block a user