diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2014-08-28 13:17:34 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2014-08-28 13:17:34 -0400 |
commit | b90b4fb30b9f9b0b37c8804d770dcc454fcc6bd1 (patch) | |
tree | 420441da9f8ed419fb7a3dde3f5cad2172463cbd /tinderbox/bashrc | |
parent | whitespace fixes so my hilighting looks normal (diff) | |
download | qa-scripts-b90b4fb30b9f9b0b37c8804d770dcc454fcc6bd1.tar.gz qa-scripts-b90b4fb30b9f9b0b37c8804d770dcc454fcc6bd1.tar.bz2 qa-scripts-b90b4fb30b9f9b0b37c8804d770dcc454fcc6bd1.zip |
adjust output for use with portage
Adjust output so that things look better when running stand-alone,
by category, or from within portage.
Diffstat (limited to 'tinderbox/bashrc')
-rw-r--r-- | tinderbox/bashrc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tinderbox/bashrc b/tinderbox/bashrc index 560c3fd..8533e2b 100644 --- a/tinderbox/bashrc +++ b/tinderbox/bashrc @@ -115,9 +115,12 @@ tinderbox_postinst_checks() { fi if type -P "${DEPCHECK_BIN}" > /dev/null ; then - SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck + SANDBOX_ON=0 INSIDE_PORTAGE=1 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck if [[ "${TINDERBOX_VERBOSE}" == true ]] ; then - cat "${BUILD_DATA_DIR}"/depcheck + if [ -f "${BUILD_DATA_DIR}"/depcheck ] && [ -n "$(cat "${BUILD_DATA_DIR}"/depcheck)" ] ; then + eqawarn "QA Notice:" + eqawarn "$(cat "${BUILD_DATA_DIR}"/depcheck)" + fi fi fi } |