diff options
author | Leah Rowe <leah@libreboot.org> | 2025-08-31 21:33:00 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-08-31 21:33:00 +0100 |
commit | 7c04cd37b52afe971cafcb607f07428c46ea9b24 (patch) | |
tree | 353d389f0604c6c0ac90886f1ca25fdd380db3ac /include/init.sh | |
parent | 2d20be3d99b260e55798866292c46340e8f183f9 (diff) |
init.sh: tidy up xbmk_child_set_tmp
the checks of xbmk cache/threads is unrelated.
this has been moved back to the calling function.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/init.sh')
-rw-r--r-- | include/init.sh | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/init.sh b/include/init.sh index 557f7d57..d6d9a4bb 100644 --- a/include/init.sh +++ b/include/init.sh @@ -71,6 +71,8 @@ xbmk_set_env() if [ "$is_child" = "y" ]; then xbmk_child_set_tmp + [ -z "${XBMK_CACHE+x}" ] && err "XBMK_CACHE unset on child" + [ -z "${XBMK_THREADS+x}" ] && xbmk_set_threads; : return 1 fi @@ -136,9 +138,6 @@ xbmk_child_set_tmp() xbtmp="$xbtmpchk" export TMPDIR="$xbtmpchk" - - [ -z "${XBMK_CACHE+x}" ] && err "XBMK_CACHE unset on child" - [ -z "${XBMK_THREADS+x}" ] && xbmk_set_threads; : } xbmk_parent_check_tmp() |