From 23ea6c818fd3dcb4c8eb056ec15fa56c1209b4ed Mon Sep 17 00:00:00 2001 From: Packet Please Date: Sun, 21 Jul 2024 23:22:00 +0200 Subject: [PATCH] treewide: make fmt --- build/build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build/build.sh b/build/build.sh index d139ed6..0ac5c26 100755 --- a/build/build.sh +++ b/build/build.sh @@ -32,7 +32,7 @@ function usage() { ( cd "$rootdir/tmp/$orelease/$target" list=$(make info |& sed -n 's/\(^[a-zA-Z0-9_-]*\)\:$/\1/p') - for p in $list ; do + for p in $list; do echo -n " $p" done echo @@ -116,7 +116,10 @@ packageset="$(cat "packageset/$(echo "$fversion" | cut -d'-' -f1)/$variant.txt" mkdir -p "bin/targets/$target/faillogs" # device profile help text, late because we need the extracted imagebuilder for that - [ -n "$3" ] && profile="$3" || (set +x ; usage "$frelease" "$target") + [ -n "$3" ] && profile="$3" || ( + set +x + usage "$frelease" "$target" + ) # falter feed for imagebuilder arch="$(grep CONFIG_TARGET_ARCH_PACKAGES .config | cut -d'=' -f 2 | tr -d '"')" @@ -242,7 +245,7 @@ EOF |& tee "bin/targets/$target/faillogs/$p.log" >&2 # if build resulted in image files, we can delete the log - if ls "bin/targets/$target/"*"$p"* >/dev/null ; then + if ls "bin/targets/$target/"*"$p"* >/dev/null; then rm -v "bin/targets/$target/faillogs/$p.log" fi done