mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-22 14:36:31 +02:00
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>
This commit is contained in:
+1
-1
@@ -97,7 +97,7 @@ xbmkpkg()
|
|||||||
printf "Writing into %s" "$pkg_use_file..."
|
printf "Writing into %s" "$pkg_use_file..."
|
||||||
|
|
||||||
if [ ! -d "`dirname $pkg_use_file`" ]; then
|
if [ ! -d "`dirname $pkg_use_file`" ]; then
|
||||||
mkdir -p "`dirname $pkg_use_file`"
|
x_ mkdir -p "`dirname $pkg_use_file`"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
printf "%s\n" "$pkg_use" >> "$pkg_use_file"
|
printf "%s\n" "$pkg_use" >> "$pkg_use_file"
|
||||||
|
|||||||
Reference in New Issue
Block a user