mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-17 07:54:50 +02:00
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>
This commit is contained in:
+2
-3
@@ -71,6 +71,8 @@ xbmk_set_env()
|
|||||||
|
|
||||||
if [ "$is_child" = "y" ]; then
|
if [ "$is_child" = "y" ]; then
|
||||||
xbmk_child_set_tmp
|
xbmk_child_set_tmp
|
||||||
|
[ -z "${XBMK_CACHE+x}" ] && err "XBMK_CACHE unset on child"
|
||||||
|
[ -z "${XBMK_THREADS+x}" ] && xbmk_set_threads; :
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -136,9 +138,6 @@ xbmk_child_set_tmp()
|
|||||||
|
|
||||||
xbtmp="$xbtmpchk"
|
xbtmp="$xbtmpchk"
|
||||||
export TMPDIR="$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()
|
xbmk_parent_check_tmp()
|
||||||
|
|||||||
Reference in New Issue
Block a user