aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tinderbox')
-rw-r--r--tinderbox/bashrc5
1 files changed, 3 insertions, 2 deletions
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
}