Skip to content

Commit

Permalink
make fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls committed Nov 7, 2024
1 parent 4263e83 commit 5e3c084
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -250,14 +250,13 @@ EOF

# if build resulted in image files, we can delete the log
cnt="$(find "bin/targets/$target" -name '*.bin' -or -name '*.img' -or -name '*.gz' | wc -l)"
if [ "$cnt" -gt 0 ] ; then
if [ "$cnt" -gt 0 ]; then
rm -v "bin/targets/$target/faillogs/$p.log"
fi
done
) \
|& tee "$destdir/build.log" >&2


find "$ibdir/bin/targets/$target" \( -name '*.bin' -or -name '*.img' -or -name '*.gz' -or -name 'profiles.json' \) -exec mv -v '{}' "$destdir/" \;
mv "$ibdir/bin/targets/$target/faillogs" "$destdir/"

Expand Down

0 comments on commit 5e3c084

Please sign in to comment.