aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tinderbox')
-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
}