mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-19 19:23:24 +02:00
init.sh: xbmk_create_tmpdir to xbmk_mkdirs
this function now simply creates directories that lbmk will use, rather than creating specific directories. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -31,7 +31,7 @@ xbmk_init()
|
|||||||
[ "$(id -u)" != "0" ] || err "this command as root is not permitted"
|
[ "$(id -u)" != "0" ] || err "this command as root is not permitted"
|
||||||
|
|
||||||
for init_cmd in set_pyver set_version set_env lock git_init \
|
for init_cmd in set_pyver set_version set_env lock git_init \
|
||||||
create_tmpdir create_pathdirs child_exec; do
|
mkdirs create_pathdirs child_exec; do
|
||||||
xbmk_$init_cmd "$@" || break
|
xbmk_$init_cmd "$@" || break
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@@ -187,7 +187,7 @@ xbmk_git_init()
|
|||||||
2>/dev/null; :
|
2>/dev/null; :
|
||||||
}
|
}
|
||||||
|
|
||||||
xbmk_create_tmpdir()
|
xbmk_mkdirs()
|
||||||
{
|
{
|
||||||
x_ mkdir -p "$xbmklocal"
|
x_ mkdir -p "$xbmklocal"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user