summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-07-21 20:24:12 +0100
committerLeah Rowe <leah@libreboot.org>2026-07-21 20:24:12 +0100
commit56697c1da39021d7ffc348fe450cfabbe72f19fa (patch)
tree8882bfddcc784127052ec73193575202d333e8ee
parent8d9d1a88a03c7abe91d2b805fb0b7d58f81bc073 (diff)
init.sh: add error check on mkdir in gentoo check
yes. i should have reviewed that patch properly. the code should meet lbmk standards now. Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/init.sh b/include/init.sh
index ba442062..ba4e582a 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -97,7 +97,7 @@ xbmkpkg()
printf "Writing into %s" "$pkg_use_file..."
if [ ! -d "`dirname $pkg_use_file`" ]; then
- mkdir -p "`dirname $pkg_use_file`"
+ x_ mkdir -p "`dirname $pkg_use_file`"
fi
printf "%s\n" "$pkg_use" >> "$pkg_use_file"