diff options
author | James Knight <james.d.knight@live.com> | 2016-02-21 11:04:58 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-02-21 18:30:09 +0100 |
commit | 2406955bce3e6371b5ebb3faac65d1aca9d3e108 (patch) | |
tree | d50c007d447417aa079c837654eb426f8bc12d50 /docs/manual/adding-packages-autotools.txt | |
parent | 9d519412d65e13e4a7ffbb83edd8d1e4b2dfe4b7 (diff) | |
download | buildroot-2406955bce3e6371b5ebb3faac65d1aca9d3e108.tar.gz buildroot-2406955bce3e6371b5ebb3faac65d1aca9d3e108.zip |
pkg-utils: mask tput failure for non-interactive sessions
When invoking a build from a non-interactive session (for example, a
Jenkins build), there is no terminal session to modify. When preparing
variables to track the bold and boldoff mode sequences, the `tput`
command will always fail as there is no terminal to query. The following
change masks the error message when `tput` fails; leaving the TERM_BOLD
and TERM_RESET variables empty.
Signed-off-by: James Knight <james.d.knight@live.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/adding-packages-autotools.txt')
0 files changed, 0 insertions, 0 deletions