diff options
| author | Leah Rowe <leah@libreboot.org> | 2026-09-14 11:20:39 +0100 |
|---|---|---|
| committer | Leah Rowe <leah@libreboot.org> | 2026-09-14 11:30:49 +0100 |
| commit | c0402ef6422b528d3cc56706a7f455f5691b07d3 (patch) | |
| tree | be69989fe7e75e005d99e1d3e2c492e62c76fc2b /include | |
| parent | 16e04411f209c88f214ce84cfa2c42c3af1c8408 (diff) | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/env/init.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/env/init.sh b/include/env/init.sh index 23850c12..afdbb80f 100644 --- a/include/env/init.sh +++ b/include/env/init.sh @@ -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" |
