Skip to content

Commit

Permalink
build: fix failure detection once more
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls committed Nov 7, 2024
1 parent 5e3c084 commit 0835cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ EOF
|& tee "bin/targets/$target/faillogs/$p.log" >&2

# 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)"
cnt="$(find "bin/targets/$target/" -name "*$p*.bin" -or -name "*$p*.img" -or -name "*$p*.gz" | wc -l)"
if [ "$cnt" -gt 0 ]; then
rm -v "bin/targets/$target/faillogs/$p.log"
fi
Expand Down

0 comments on commit 0835cd0

Please sign in to comment.