setup_mm_packages.sh: handle weird terminals 31/13331/2
authorMartin Kelly <mkelly@xevo.com>
Wed, 31 Jan 2018 22:33:12 +0000 (14:33 -0800)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 5 Feb 2018 16:05:02 +0000 (16:05 +0000)
commit04dd9605fce7cc32ba807a7c07759b90b0d883f0
treebc823753e2f5d31b9f41ff36fce95158afe7f610
parent47409b704c46665e34bc2e6f86d6f72d6d7ef16e
setup_mm_packages.sh: handle weird terminals

Currently, setup_mm_packages.sh fails on terminals that won't display
colors (such as my Jenkins CI setup). Tweak the code to handle this case
and display an error message instead of failing.

Change-Id: If18e16ed385af567801a56871542b4eb86f4588d
Signed-off-by: Martin Kelly <mkelly@xevo.com>
meta-agl-bsp/meta-rcar-gen3/scripts/setup_mm_packages.sh