diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2016-02-07 22:34:26 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-07 23:16:11 +0100 |
commit | 5e7020ef643c3266d31027bcdb50d59767adc87e (patch) | |
tree | 8ca70f0a41b18d79441f4d4ad0dc73caa3d38101 /package/nodejs/5.3.0/0001-Remove-dependency-on-Python-bz2-module.patch | |
parent | a3f75bcc764d5136fe79f2b734c37068270dde28 (diff) | |
download | buildroot-5e7020ef643c3266d31027bcdb50d59767adc87e.tar.gz buildroot-5e7020ef643c3266d31027bcdb50d59767adc87e.zip |
core: catch failures in graph-depends
Currently, we generate the dependency graph in a single command, piping
the stdout of support/scripts/.graph-depends to the stdin of dot.
Unfortunately, this means we can't catch a failure of graph-depends, as
the shell can only treturn the exit code of the last command in a pipe.
Still, we do want to keep the output of graph-depends, and we in fact do
keep it by mean of a tee.
graph-depends has just gained the ability to generate its output to a
file, so we break the pipe in two differnet commands, so we can bail out
on graph-depends errors.
Do that for the two call sites.
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/5.3.0/0001-Remove-dependency-on-Python-bz2-module.patch')
0 files changed, 0 insertions, 0 deletions