mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-16 23:08:49 +02:00
init.sh: tidy up pathdir creation
we can use remkdir here. it does the same thing. Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -212,8 +212,7 @@ xbmk_lock()
|
|||||||
|
|
||||||
xbmk_create_pathdirs()
|
xbmk_create_pathdirs()
|
||||||
{
|
{
|
||||||
x_ rm -Rf "$XBMK_CACHE/xbmkpath" "$XBMK_CACHE/gnupath"
|
remkdir "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath"
|
||||||
x_ mkdir -p "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath"
|
|
||||||
export PATH="$XBMK_CACHE/xbmkpath:$XBMK_CACHE/gnupath:$PATH"
|
export PATH="$XBMK_CACHE/xbmkpath:$XBMK_CACHE/gnupath:$PATH"
|
||||||
(
|
(
|
||||||
# set up python v3.x in PATH, in case it's not set up correctly.
|
# set up python v3.x in PATH, in case it's not set up correctly.
|
||||||
|
|||||||
Reference in New Issue
Block a user