Skip to content

Commit

Permalink
Makefile: use errexit, pipefail, and nounset
Browse files Browse the repository at this point in the history
  • Loading branch information
thockin committed Feb 26, 2022
1 parent 05a71be commit 9ad4a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/root/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ endif
# clean: Clean up.

# 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.
PRINT_HELP ?=
Expand Down

0 comments on commit 9ad4a65

Please sign in to comment.