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-04 08:10:36 +0100
commitb6a2dc4ea3ca18bff174014d1724aebd5dc28b84 (patch)
tree408ad8a42c0a62a8f2fced241a0726f24c9e5f46
parentf5b2bdb88681bd16f2a32c8fb3f51cfc65da9448 (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.