mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +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()
|
||||
{
|
||||
x_ rm -Rf "$XBMK_CACHE/xbmkpath" "$XBMK_CACHE/gnupath"
|
||||
x_ mkdir -p "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath"
|
||||
remkdir "$XBMK_CACHE/gnupath" "$XBMK_CACHE/xbmkpath"
|
||||
export PATH="$XBMK_CACHE/xbmkpath:$XBMK_CACHE/gnupath:$PATH"
|
||||
(
|
||||
# set up python v3.x in PATH, in case it's not set up correctly.
|
||||
|
||||
Reference in New Issue
Block a user