1 |
commit: d32fc9a088a1abd9c6f9462822c3f5aac80f061f |
2 |
Author: Brian Dolbec dolsen <dolsen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jul 26 18:14:24 2018 +0000 |
4 |
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jul 26 18:14:49 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32fc9a0 |
7 |
|
8 |
dev-util/buildbot: Fix missed checkconfig section bug 661618 |
9 |
|
10 |
Adds RUNTIME_PYTHON default setting to the init.d script |
11 |
|
12 |
Gentoo-bug: https://bugs.gentoo.org/661618 |
13 |
Package-Manager: Portage-2.3.40, Repoman-2.3.9 |
14 |
|
15 |
dev-util/buildbot/files/buildmaster.initd | 3 +++ |
16 |
1 file changed, 3 insertions(+) |
17 |
|
18 |
diff --git a/dev-util/buildbot/files/buildmaster.initd b/dev-util/buildbot/files/buildmaster.initd |
19 |
index 933c6e2b4e5..b75ae34830d 100644 |
20 |
--- a/dev-util/buildbot/files/buildmaster.initd |
21 |
+++ b/dev-util/buildbot/files/buildmaster.initd |
22 |
@@ -32,6 +32,9 @@ checkconfig() { |
23 |
eerror "${BUILDMASTER_PATH} does not contain buildbot.tac" |
24 |
return 1 |
25 |
fi |
26 |
+ if [ ! -e "${RUNTIME_PYTHON}" ]; then |
27 |
+ RUNTIME_PYTHON="/usr/bin/python" |
28 |
+ fi |
29 |
} |
30 |
|
31 |
start() { |