Skip to content

Commit c712235

Browse files
committed
CI: suppress sort "Broken pipe" warnings
Apparently, it's completely normal in this sort of use where it's paired with head, since head closes the stream after printing the requested number of leading lines: https://stackoverflow.com/a/46203242/1207769
1 parent 6926957 commit c712235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ last_cache_modified() {
77
find "$HOME/.cache/scijava/melting-pot" -type f | while read f
88
do
99
stat -c '%Y' "$f"
10-
done | sort -nr | head -n1
10+
done | sort -nr 2>/dev/null | head -n1
1111
}
1212

1313
# Record the last time of cache modification before running melting-pot

0 commit comments

Comments
 (0)