mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
init.sh: only create cache/ here
also, the check is -e, not -d, because we might be operating on a symlink. it's a bit hacky but this should work. the previous change (now reverted) broke re-use of the main cache/ in release work directories. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -60,6 +60,10 @@ xbmk_init()
|
|||||||
export PWD="$xbmkpwd"
|
export PWD="$xbmkpwd"
|
||||||
x_ xbmkdir "$basetmp"
|
x_ xbmkdir "$basetmp"
|
||||||
|
|
||||||
|
if [ ! -e "cache" ]; then
|
||||||
|
x_ xbmkdir "cache"
|
||||||
|
fi
|
||||||
|
|
||||||
for init_cmd in get_version set_env set_threads git_init child_exec; do
|
for init_cmd in get_version set_env set_threads git_init child_exec; do
|
||||||
if ! xbmk_$init_cmd "$@"; then
|
if ! xbmk_$init_cmd "$@"; then
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user