blob: c6774b52ab92dc8d2af0159d1bf2b24b7896e825 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/bin/bash
# This script dumps information about the build environment to stdout.
set -euo pipefail
IFS=$'\n\t'
echo "environment variables:"
printenv | sort
echo
echo "disk usage:"
df -h
echo
echo "biggest files in the working dir:"
set +o pipefail
du . | sort -nr | head -n100
set -o pipefail
echo
|