mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Makefile: use errexit, pipefail, and nounset
This commit is contained in:
parent
05a71be79d
commit
9ad4a659ae
@ -30,7 +30,7 @@ endif
|
|||||||
# clean: Clean up.
|
# clean: Clean up.
|
||||||
|
|
||||||
# It's necessary to set this because some environments don't link sh -> bash.
|
# It's necessary to set this because some environments don't link sh -> bash.
|
||||||
SHELL := /usr/bin/env bash
|
SHELL := /usr/bin/env bash -o errexit -o pipefail -o nounset
|
||||||
|
|
||||||
# Define variables so `make --warn-undefined-variables` works.
|
# Define variables so `make --warn-undefined-variables` works.
|
||||||
PRINT_HELP ?=
|
PRINT_HELP ?=
|
||||||
|
Loading…
Reference in New Issue
Block a user