From 56697c1da39021d7ffc348fe450cfabbe72f19fa Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Tue, 21 Jul 2026 20:24:12 +0100 Subject: 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 --- include/init.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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" -- cgit v1.2.1