Dear all,
Is there a recommended way to catch errors in pipelines of coommands that
are used in recipes, please?
If so, how backward-compatible are they?
I saw the .SHELLFLAGS variable but also found a bug report saying that
its content is passed to the shell as one single argument. Is it thus
m
> Is there a recommended way to catch errors in pipelines of coommands that
> are used in recipes, please?
I use the following with good success:
SHELL=/usr/bin/bash
.SHELLFLAGS = -eu -o pipefail -c
FWIW: I usually use the above in combination with:
.ONESHELL:
MAKEFLAGS += --no-builtin-rules
MA