aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2014-08-28 13:17:34 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2014-08-28 13:17:34 -0400
commitb90b4fb30b9f9b0b37c8804d770dcc454fcc6bd1 (patch)
tree420441da9f8ed419fb7a3dde3f5cad2172463cbd /tinderbox/bashrc
parentwhitespace fixes so my hilighting looks normal (diff)
downloadqa-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/bashrc7
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
}