summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-07-21 20:21:44 +0100
committerLeah Rowe <leah@libreboot.org>2026-07-21 20:21:44 +0100
commite1384a1b9f2d96d96dce52427e86187dbece5a84 (patch)
tree2f36466eb32dd08bd50f1578a483f5d45d0da5a6
parent598a57639f35c3715882970a7b598bf2d02fd090 (diff)
init.sh: add -p on mkdir command in gentoo check
probably redundant, but can't hurt 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 76d83ac2..602e308a 100644
--- a/include/init.sh
+++ b/include/init.sh
@@ -97,7 +97,7 @@ xbmkpkg()
printf "Writing into $pkg_use_file..."
if [ ! -d "`dirname $pkg_use_file`" ]; then
- mkdir "`dirname $pkg_use_file`"
+ mkdir -p "`dirname $pkg_use_file`"
fi
printf "%s\n" "$pkg_use" >> "$pkg_use_file"