mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-09-19 21:20:31 +02:00
init.sh: remove unnecessary directory check
literally the point of -p in mkdir is to, you know, check whether the directory already exists unclear thinking = unclear code Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -64,7 +64,6 @@ xbmkpkg()
|
|||||||
printf "Updating package use...\n"
|
printf "Updating package use...\n"
|
||||||
printf "Writing into %s" "$pkg_use_file..."
|
printf "Writing into %s" "$pkg_use_file..."
|
||||||
|
|
||||||
[ ! -d "`dirname $pkg_use_file`" ] && \
|
|
||||||
x_ mkdir -p "`dirname $pkg_use_file`"
|
x_ mkdir -p "`dirname $pkg_use_file`"
|
||||||
|
|
||||||
printf "%s\n" "$pkg_use" >> "$pkg_use_file"
|
printf "%s\n" "$pkg_use" >> "$pkg_use_file"
|
||||||
|
|||||||
Reference in New Issue
Block a user