ci: Take tail instead of head to avoid broken pipes
This commit is contained in:
parent
6cb4768ddd
commit
8da1c0049a
1 changed files with 1 additions and 3 deletions
|
@ -15,9 +15,7 @@ df -h
|
|||
echo
|
||||
|
||||
echo "biggest files in the working dir:"
|
||||
set +o pipefail
|
||||
du . | sort -nr | head -n100
|
||||
set -o pipefail
|
||||
du . | sort -n | tail -n100 | sort -nr # because piping sort to head gives a broken pipe
|
||||
echo
|
||||
|
||||
if isMacOS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue