aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/genrule/genrule-setup.sh
blob: c1d938e60fed5b25f6e6ea8cca8591b4434f2f3e (plain)
1
2
3
4
5
6
7
8
# exit immediately if a command or pipeline fails, unless it is in a test expression
set -e

# treat unset variables as errors
set -u

# exit code of a pipeline is 0, or the non-zero exit code of the rightmost failing command
set -o pipefail