summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-05-04 08:10:36 +0100
committerLeah Rowe <leah@libreboot.org>2025-05-05 12:18:22 +0100
commit0417af86ec97b48227a46e77f2347fbdbd72f20b (patch)
treece75139cf50b7298e76d8e2ccfb685bc32f28a38
parentd82668ffa5292c2c1fff229a7230b6d75b109c96 (diff)
init.sh: tidy up pathdir creation
we can use remkdir here. it does the same thing. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/init.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/init.sh b/include/init.sh
index 3f813ea7..7026594a 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -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.