diff options
author | 2018-07-30 07:41:52 +0100 | |
---|---|---|
committer | 2018-07-29 23:41:52 -0700 | |
commit | 6e1c02c4ac7d806af5e91dbe42c43a1e817b6b70 (patch) | |
tree | cda74b89a7a0512857ed774b70ebf3c629159444 /Makefile | |
parent | 54ec78c1ba918b98ac9b9c5b1334c9d170502119 (diff) | |
download | coredns-6e1c02c4ac7d806af5e91dbe42c43a1e817b6b70.tar.gz coredns-6e1c02c4ac7d806af5e91dbe42c43a1e817b6b70.tar.zst coredns-6e1c02c4ac7d806af5e91dbe42c43a1e817b6b70.zip |
Make presubmit actually fail the build (#2013)
The exit code wasn't properly acted upon in the makefile.
Make filename-hyphen actually return an non-zero exit code.
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to '')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,7 +81,7 @@ pb: # Presubmit runs all scripts in .presubmit; any non 0 exit code will fail the build. .PHONY: presubmit presubmit: - @for pre in $(MAKEPWD)/.presubmit/* ; do "$$pre" $(PRESUBMIT); done + @for pre in $(MAKEPWD)/.presubmit/* ; do "$$pre" $(PRESUBMIT) || exit 1 ; done .PHONY: clean clean: |