init.sh: add -p on mkdir command in gentoo check

probably redundant, but can't hurt

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2026-07-21 20:21:44 +01:00
parent 598a57639f
commit e1384a1b9f
+1 -1
View File
@@ -97,7 +97,7 @@ xbmkpkg()
printf "Writing into $pkg_use_file..." printf "Writing into $pkg_use_file..."
if [ ! -d "`dirname $pkg_use_file`" ]; then if [ ! -d "`dirname $pkg_use_file`" ]; then
mkdir "`dirname $pkg_use_file`" mkdir -p "`dirname $pkg_use_file`"
fi fi
printf "%s\n" "$pkg_use" >> "$pkg_use_file" printf "%s\n" "$pkg_use" >> "$pkg_use_file"