1 |
commit: 5f59042ba48b944f9d97e10fd83b24222cb5b48d |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 8 16:29:28 2014 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 8 16:29:30 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/qa-scripts.git;a=commit;h=5f59042b |
7 |
|
8 |
tinderbox: add DEPCHECK_BIN configuration variable. |
9 |
|
10 |
It's not packaged anywhere, so people might want to store it in a |
11 |
custom location. |
12 |
|
13 |
--- |
14 |
tinderbox/bashrc | 5 +++-- |
15 |
1 file changed, 3 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/tinderbox/bashrc b/tinderbox/bashrc |
18 |
index 584a9a1..121f20e 100644 |
19 |
--- a/tinderbox/bashrc |
20 |
+++ b/tinderbox/bashrc |
21 |
@@ -60,6 +60,7 @@ |
22 |
# - make_jobserver |
23 |
# - unicode_errors |
24 |
|
25 |
+: ${DEPCHECK_BIN:="/usr/bin/depcheck"} |
26 |
: ${TINDERBOX_DIR:="/var/lib/tinderbox"} |
27 |
|
28 |
PACKAGE_DATA_DIR="${TINDERBOX_DIR}/${CATEGORY}/${PN}" |
29 |
@@ -112,8 +113,8 @@ tinderbox_postinst_checks() { |
30 |
SANDBOX_ON=0 rm "${BUILD_DATA_DIR}"/portageqa |
31 |
fi |
32 |
|
33 |
- if type -P depcheck > /dev/null ; then |
34 |
- SANDBOX_ON=0 depcheck ${PF} > "${BUILD_DATA_DIR}"/depcheck |
35 |
+ if type -P "${DEPCHECK_BIN}" > /dev/null ; then |
36 |
+ SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck |
37 |
fi |
38 |
} |