aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-06-09 02:29:28 +1000
committerMichael Palimaka <kensington@gentoo.org>2014-06-09 02:29:30 +1000
commit5f59042ba48b944f9d97e10fd83b24222cb5b48d (patch)
tree84c7a5298ed69b6f97aba6f52abf763adb662c94 /tinderbox
parentdepcheck: add script for checking binary runtime dependencies. (diff)
downloadqa-scripts-5f59042ba48b944f9d97e10fd83b24222cb5b48d.tar.gz
qa-scripts-5f59042ba48b944f9d97e10fd83b24222cb5b48d.tar.bz2
qa-scripts-5f59042ba48b944f9d97e10fd83b24222cb5b48d.zip
tinderbox: add DEPCHECK_BIN configuration variable.
It's not packaged anywhere, so people might want to store it in a custom location.
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
}