summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec dolsen <dolsen@gentoo.org>2018-07-26 11:14:24 -0700
committerBrian Dolbec dolsen <dolsen@gentoo.org>2018-07-26 11:14:49 -0700
commitd32fc9a088a1abd9c6f9462822c3f5aac80f061f (patch)
tree7726ff5b84a7650e0e1eaa2ec19ab5cdc925cf0b /dev-util/buildbot
parentapp-metrics/burrow_exporter: Initial version (diff)
downloadgentoo-d32fc9a088a1abd9c6f9462822c3f5aac80f061f.tar.gz
gentoo-d32fc9a088a1abd9c6f9462822c3f5aac80f061f.tar.bz2
gentoo-d32fc9a088a1abd9c6f9462822c3f5aac80f061f.zip
dev-util/buildbot: Fix missed checkconfig section bug 661618
Adds RUNTIME_PYTHON default setting to the init.d script Gentoo-bug: https://bugs.gentoo.org/661618 Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-util/buildbot')
-rw-r--r--dev-util/buildbot/files/buildmaster.initd3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/buildbot/files/buildmaster.initd b/dev-util/buildbot/files/buildmaster.initd
index 933c6e2b4e51..b75ae34830d4 100644
--- a/dev-util/buildbot/files/buildmaster.initd
+++ b/dev-util/buildbot/files/buildmaster.initd
@@ -32,6 +32,9 @@ checkconfig() {
eerror "${BUILDMASTER_PATH} does not contain buildbot.tac"
return 1
fi
+ if [ ! -e "${RUNTIME_PYTHON}" ]; then
+ RUNTIME_PYTHON="/usr/bin/python"
+ fi
}
start() {