From 5f59042ba48b944f9d97e10fd83b24222cb5b48d Mon Sep 17 00:00:00 2001 From: Michael Palimaka Date: Mon, 9 Jun 2014 02:29:28 +1000 Subject: tinderbox: add DEPCHECK_BIN configuration variable. It's not packaged anywhere, so people might want to store it in a custom location. --- tinderbox/bashrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tinderbox/bashrc') diff --git a/tinderbox/bashrc b/tinderbox/bashrc index 584a9a1..121f20e 100644 --- a/tinderbox/bashrc +++ b/tinderbox/bashrc @@ -60,6 +60,7 @@ # - make_jobserver # - unicode_errors +: ${DEPCHECK_BIN:="/usr/bin/depcheck"} : ${TINDERBOX_DIR:="/var/lib/tinderbox"} PACKAGE_DATA_DIR="${TINDERBOX_DIR}/${CATEGORY}/${PN}" @@ -112,8 +113,8 @@ tinderbox_postinst_checks() { SANDBOX_ON=0 rm "${BUILD_DATA_DIR}"/portageqa fi - if type -P depcheck > /dev/null ; then - SANDBOX_ON=0 depcheck ${PF} > "${BUILD_DATA_DIR}"/depcheck + if type -P "${DEPCHECK_BIN}" > /dev/null ; then + SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck fi } -- cgit v1.2.3-18-g5258