Skip to content
Snippets Groups Projects
Commit 3bf45835 authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

make: run shell with pipefail


Without pipefail, it is possible to miss failures if the recipes
include pipes.

Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 88da4b04
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,8 @@ SRC_PATH=. ...@@ -14,6 +14,8 @@ SRC_PATH=.
# we have explicit rules for everything # we have explicit rules for everything
MAKEFLAGS += -rR MAKEFLAGS += -rR
SHELL = /usr/bin/env bash -o pipefail
# Usage: $(call quiet-command,command and args,"NAME","args to print") # Usage: $(call quiet-command,command and args,"NAME","args to print")
# This will run "command and args", and either: # This will run "command and args", and either:
# if V=1 just print the whole command and args # if V=1 just print the whole command and args
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment